POST api/Service/Save

Save Service

Request Information

URI Parameters

None.

Body Parameters

Service Object

DTO_Print_Service
NameDescriptionTypeAdditional information
ID

string

None.

Template_ID

string

None.

Printer_ID

string

None.

Name

string

None.

Enable

boolean

None.

Date_Created

date

None.

Auth_ID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "Template_ID": "sample string 2",
  "Printer_ID": "sample string 3",
  "Name": "sample string 4",
  "Enable": true,
  "Date_Created": "2025-12-22T04:27:01.0107574+08:00",
  "Auth_ID": "sample string 7"
}

application/xml, text/xml

Sample:
<DTO_Print_Service xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrintService.DTO">
  <Auth_ID>sample string 7</Auth_ID>
  <Date_Created>2025-12-22T04:27:01.0107574+08:00</Date_Created>
  <Enable>true</Enable>
  <ID>sample string 1</ID>
  <Name>sample string 4</Name>
  <Printer_ID>sample string 3</Printer_ID>
  <Template_ID>sample string 2</Template_ID>
</DTO_Print_Service>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.