Gets the Workorder status associated to the specified workorder

WorkOrder status can be pulled sending either WorkOrder Number or WorkOrder ID. Multiple WorkOrders cannot be requested with this.

GET api/WorkOrders/{id}/WorkOrderStatus

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None

Response Information

Resource Description

WorkOrderStatusFragment
NameDescriptionTypeAdditional information
Id

integer None.
WorkOrderNumber

string None.
StatusId

integer None.
StatusCode

string None.
StatusDescription

string None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "WorkOrderNumber": "sample string 2",
  "StatusId": 3,
  "StatusCode": "sample string 4",
  "StatusDescription": "sample string 5"
}

application/xml, text/xml

Sample:
<WorkOrderStatusFragment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlESI.FMPilot.Core.BE.Entities.WorkOrder">
  <Id>1</Id>
  <StatusCode>sample string 4</StatusCode>
  <StatusDescription>sample string 5</StatusDescription>
  <StatusId>3</StatusId>
  <WorkOrderNumber>sample string 2</WorkOrderNumber>
</WorkOrderStatusFragment>