Home / API / ASP.NET Web API Details

POST api/v1/WorkOrder/PostUpdateWorkOrder

Description

API Call for updating the WOs

Request Information

Parameters

NameDescriptionAdditional information
CompanyId
No documentation available.

Define this parameter in the request body.

ScheduleDate
No documentation available.

Define this parameter in the request body.

WoNumber
No documentation available.

Define this parameter in the request body.

RouteName
No documentation available.

Define this parameter in the request body.

InvoiceAmount
No documentation available.

Define this parameter in the request body.

ScheduleTime
No documentation available.

Define this parameter in the request body.

Duration
No documentation available.

Define this parameter in the request body.

Confirmed
No documentation available.

Define this parameter in the request body.

TimeRangeId
No documentation available.

Define this parameter in the request body.

JobInstructions
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CompanyId": 1,
  "ScheduleDate": "2025-02-23T06:21:15.8463411+00:00",
  "WoNumber": 3,
  "RouteName": "sample string 4",
  "InvoiceAmount": 5.0,
  "ScheduleTime": 6,
  "Duration": 7,
  "Confirmed": true,
  "TimeRangeId": 1,
  "JobInstructions": [
    {
      "WoEventId": 1,
      "JobInstructions": "sample string 2"
    },
    {
      "WoEventId": 1,
      "JobInstructions": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<WorkOrderUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <CompanyId>1</CompanyId>
  <Confirmed>true</Confirmed>
  <Duration>7</Duration>
  <InvoiceAmount>5</InvoiceAmount>
  <JobInstructions>
    <WorkOrderEventJobInstructions>
      <JobInstructions>sample string 2</JobInstructions>
      <WoEventId>1</WoEventId>
    </WorkOrderEventJobInstructions>
    <WorkOrderEventJobInstructions>
      <JobInstructions>sample string 2</JobInstructions>
      <WoEventId>1</WoEventId>
    </WorkOrderEventJobInstructions>
  </JobInstructions>
  <RouteName>sample string 4</RouteName>
  <ScheduleDate>2025-02-23T06:21:15.8463411+00:00</ScheduleDate>
  <ScheduleTime>6</ScheduleTime>
  <TimeRangeId>1</TimeRangeId>
  <WoNumber>3</WoNumber>
</WorkOrderUpdateModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "WoNumber": "sample string 1",
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<WorkOrderUpdatedModelResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <Message>sample string 2</Message>
  <WoNumber>sample string 1</WoNumber>
</WorkOrderUpdatedModelResult>