POST api/WorkOrderStatus/UpdateWorkOrderApprovalStatus

Update WorkOrder Status

Request Information

URI Parameters

None.

Body Parameters

WorkOrderApprovalStatusUpdateRequestModel
NameDescriptionTypeAdditional information
ApiToken

string

None.

WorkOrderID

integer

None.

ApprovalStatusID

integer

None.

ReviewEmailID

string

None.

Notes

string

None.

IsCustomer

integer

None.

IPAddress

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "apiToken": "sample string 1",
  "workOrderID": 2,
  "approvalStatusID": 3,
  "reviewEmailID": "sample string 4",
  "notes": "sample string 5",
  "isCustomer": 6,
  "ipAddress": "sample string 7",
  "latitude": 1.0,
  "longitude": 1.0
}

application/xml, text/xml

Sample:
<WorkOrderApprovalStatusUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel">
  <ApiToken>sample string 1</ApiToken>
  <ApprovalStatusID>3</ApprovalStatusID>
  <IPAddress>sample string 7</IPAddress>
  <IsCustomer>6</IsCustomer>
  <Latitude>1</Latitude>
  <Longitude>1</Longitude>
  <Notes>sample string 5</Notes>
  <ReviewEmailID>sample string 4</ReviewEmailID>
  <WorkOrderID>2</WorkOrderID>
</WorkOrderApprovalStatusUpdateRequestModel>

multipart/form-data

Sample:
<WorkOrderApprovalStatusUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.RequestModel"><ApiToken>sample string 1</ApiToken><ApprovalStatusID>3</ApprovalStatusID><IPAddress>sample string 7</IPAddress><IsCustomer>6</IsCustomer><Latitude>1</Latitude><Longitude>1</Longitude><Notes>sample string 5</Notes><ReviewEmailID>sample string 4</ReviewEmailID><WorkOrderID>2</WorkOrderID></WorkOrderApprovalStatusUpdateRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FollowUpReasonResponseDataModel
NameDescriptionTypeAdditional information
FollowUpReason

Collection of FollowUpReasonDataModel

None.

ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "followUpReason": [
    {
      "id": 1,
      "code": "sample string 1",
      "title": "sample string 2",
      "description": "sample string 3",
      "isActive": 4,
      "isDeleted": 5,
      "addedDate": "2025-07-17T03:59:35.069197+00:00",
      "addedBy": 1,
      "modifiedDate": "2025-07-17T03:59:35.069197+00:00",
      "modifiedBy": 1,
      "totalRecord": 7
    },
    {
      "id": 1,
      "code": "sample string 1",
      "title": "sample string 2",
      "description": "sample string 3",
      "isActive": 4,
      "isDeleted": 5,
      "addedDate": "2025-07-17T03:59:35.069197+00:00",
      "addedBy": 1,
      "modifiedDate": "2025-07-17T03:59:35.069197+00:00",
      "modifiedBy": 1,
      "totalRecord": 7
    }
  ],
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<FollowUpReasonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel">
  <Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code>
  <Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message>
  <ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID>
  <Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful>
  <TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord>
  <FollowUpReason>
    <FollowUpReasonDataModel>
      <AddedBy>1</AddedBy>
      <AddedDate>2025-07-17T03:59:35.069197+00:00</AddedDate>
      <Code>sample string 1</Code>
      <Description>sample string 3</Description>
      <ID>1</ID>
      <IsActive>4</IsActive>
      <IsDeleted>5</IsDeleted>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2025-07-17T03:59:35.069197+00:00</ModifiedDate>
      <Title>sample string 2</Title>
      <TotalRecord>7</TotalRecord>
    </FollowUpReasonDataModel>
    <FollowUpReasonDataModel>
      <AddedBy>1</AddedBy>
      <AddedDate>2025-07-17T03:59:35.069197+00:00</AddedDate>
      <Code>sample string 1</Code>
      <Description>sample string 3</Description>
      <ID>1</ID>
      <IsActive>4</IsActive>
      <IsDeleted>5</IsDeleted>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2025-07-17T03:59:35.069197+00:00</ModifiedDate>
      <Title>sample string 2</Title>
      <TotalRecord>7</TotalRecord>
    </FollowUpReasonDataModel>
  </FollowUpReason>
</FollowUpReasonResponseDataModel>

multipart/form-data

Sample:
<FollowUpReasonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Code xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">4</Code><Message xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">sample string 2</Message><ReturnID xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">1</ReturnID><Successful xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">true</Successful><TotalRecord xmlns="http://schemas.datacontract.org/2004/07/ATMP.Core.DataModel">5</TotalRecord><FollowUpReason><FollowUpReasonDataModel><AddedBy>1</AddedBy><AddedDate>2025-07-17T03:59:35.069197+00:00</AddedDate><Code>sample string 1</Code><Description>sample string 3</Description><ID>1</ID><IsActive>4</IsActive><IsDeleted>5</IsDeleted><ModifiedBy>1</ModifiedBy><ModifiedDate>2025-07-17T03:59:35.069197+00:00</ModifiedDate><Title>sample string 2</Title><TotalRecord>7</TotalRecord></FollowUpReasonDataModel><FollowUpReasonDataModel><AddedBy>1</AddedBy><AddedDate>2025-07-17T03:59:35.069197+00:00</AddedDate><Code>sample string 1</Code><Description>sample string 3</Description><ID>1</ID><IsActive>4</IsActive><IsDeleted>5</IsDeleted><ModifiedBy>1</ModifiedBy><ModifiedDate>2025-07-17T03:59:35.069197+00:00</ModifiedDate><Title>sample string 2</Title><TotalRecord>7</TotalRecord></FollowUpReasonDataModel></FollowUpReason></FollowUpReasonResponseDataModel>