POST api/Service/AddServiceTask
Request Information
URI Parameters
None.
Body Parameters
ServiceTaskName | Description | Type | Additional information |
---|---|---|---|
TaskNumber | string |
None. |
|
TaskDate | string |
None. |
|
EmployeeID | string |
None. |
|
ClerkID | string |
None. |
|
TransferDate | string |
None. |
|
HoursLeave | string |
None. |
|
MileageAllowance | string |
None. |
|
AnnualLeave | string |
None. |
|
SpecialLeave | string |
None. |
|
SickLeave | string |
None. |
|
ServiceTaskLines | ServiceTaskLines |
None. |
Request Formats
application/xml, text/xml
Sample:
<ServiceTask xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <TaskNumber>sample string 1</TaskNumber> <TaskDate>sample string 2</TaskDate> <EmployeeID>sample string 3</EmployeeID> <ClerkID>sample string 4</ClerkID> <TransferDate>sample string 5</TransferDate> <HoursLeave>sample string 6</HoursLeave> <MileageAllowance>sample string 7</MileageAllowance> <AnnualLeave>sample string 8</AnnualLeave> <SpecialLeave>sample string 9</SpecialLeave> <SickLeave>sample string 10</SickLeave> <ServiceTaskLines> <ServiceTaskLine> <LineNumber>sample string 1</LineNumber> <ServiceYear>sample string 2</ServiceYear> <ServiceBookID>sample string 3</ServiceBookID> <ServiceOrderNumber>sample string 4</ServiceOrderNumber> <TaskID>sample string 5</TaskID> <StartTime>sample string 6</StartTime> <EndTime>sample string 7</EndTime> <Quantity>sample string 8</Quantity> <UsedTime>sample string 9</UsedTime> <MileageAllowance>sample string 10</MileageAllowance> <Status>sample string 11</Status> <PlanNumber>sample string 12</PlanNumber> <Overtime>sample string 13</Overtime> <ClosingDate>sample string 14</ClosingDate> </ServiceTaskLine> <ServiceTaskLine> <LineNumber>sample string 1</LineNumber> <ServiceYear>sample string 2</ServiceYear> <ServiceBookID>sample string 3</ServiceBookID> <ServiceOrderNumber>sample string 4</ServiceOrderNumber> <TaskID>sample string 5</TaskID> <StartTime>sample string 6</StartTime> <EndTime>sample string 7</EndTime> <Quantity>sample string 8</Quantity> <UsedTime>sample string 9</UsedTime> <MileageAllowance>sample string 10</MileageAllowance> <Status>sample string 11</Status> <PlanNumber>sample string 12</PlanNumber> <Overtime>sample string 13</Overtime> <ClosingDate>sample string 14</ClosingDate> </ServiceTaskLine> </ServiceTaskLines> </ServiceTask>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CreateResultName | Description | Type | Additional information |
---|---|---|---|
Keys | Collection of EntityKeyField |
None. |
|
ResultCode | ExternalResultCode |
None. |
|
Errors | Collection of Error |
None. |
Response Formats
application/xml, text/xml
Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Keys> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> <Key> <Name>sample string 1</Name> <Value>sample string 2</Value> </Key> </Keys> <ResultCode>None</ResultCode> <Errors> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> <Error> <Level>Warning</Level> <Message>sample string 1</Message> </Error> </Errors> </CreateResult>