Home / API / ASP.NET Web API Details

GET api/v1/WorkOrder/GetWorkOrderByID?workorderid={workorderid}

Description

Get WorkOrder by WorkOrderID

Request Information

Parameters

NameDescriptionAdditional information
workorderid
WorkOrderID

Define this parameter in the request URI.

Response Information

WorkOrder Information

Response body formats

application/json, text/json

Sample:
{
  "woheaderid": 1,
  "createdby": "sample string 2",
  "scheduledate": "2025-02-23T06:36:25.5788614+00:00",
  "printeddate": "2025-02-23T06:36:25.5788614+00:00",
  "status": 64,
  "batchid": 4,
  "programid": 5,
  "lastchangedby": "sample string 6",
  "utclastchanged": "2025-02-23T06:36:25.5788614+00:00",
  "releaseid": 8,
  "assignedto": 9,
  "timerangeid": 10,
  "duration": 11,
  "scheduletime": 12,
  "workpool": 13,
  "confirmed": 14,
  "originalrouteid": 15,
  "approvedby": "sample string 16",
  "approveddate": "2025-02-23T06:36:25.5788614+00:00",
  "changedfrom": "sample string 17",
  "reconfirmed": true,
  "modifiedby": "sample string 19",
  "contactsalesperson": 20,
  "nextcontactdate": "2025-02-23T06:36:25.5788614+00:00",
  "wotype": 21,
  "signatureobtained": true
}

application/xml, text/xml

Sample:
<workorderheadermodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APICOMMON">
  <approvedby>sample string 16</approvedby>
  <approveddate>2025-02-23T06:36:25.5788614+00:00</approveddate>
  <assignedto>9</assignedto>
  <batchid>4</batchid>
  <changedfrom>sample string 17</changedfrom>
  <confirmed>14</confirmed>
  <contactsalesperson>20</contactsalesperson>
  <createdby>sample string 2</createdby>
  <duration>11</duration>
  <lastchangedby>sample string 6</lastchangedby>
  <modifiedby>sample string 19</modifiedby>
  <nextcontactdate>2025-02-23T06:36:25.5788614+00:00</nextcontactdate>
  <originalrouteid>15</originalrouteid>
  <printeddate>2025-02-23T06:36:25.5788614+00:00</printeddate>
  <programid>5</programid>
  <reconfirmed>true</reconfirmed>
  <releaseid>8</releaseid>
  <scheduledate>2025-02-23T06:36:25.5788614+00:00</scheduledate>
  <scheduletime>12</scheduletime>
  <signatureobtained>true</signatureobtained>
  <status>64</status>
  <timerangeid>10</timerangeid>
  <utclastchanged>2025-02-23T06:36:25.5788614+00:00</utclastchanged>
  <woheaderid>1</woheaderid>
  <workpool>13</workpool>
  <wotype>21</wotype>
</workorderheadermodel>