POST api/Service/ModifyServiceTask

Request Information

URI Parameters

None.

Body Parameters

ServiceTask
NameDescriptionTypeAdditional 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

UpdateResult
NameDescriptionTypeAdditional information
ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<UpdateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <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>
</UpdateResult>