POST api/WorkOrder

Request Information

URI Parameters

None.

Body Parameters

WorkOrder
NameDescriptionTypeAdditional information
WorkOrderID

integer

None.

AgencyID

integer

None.

WorkOrderNumber

string

String length: inclusive between 0 and 50

GTNum

string

String length: inclusive between 0 and 50

DateLastUpdated

date

None.

DateCreated

date

None.

InstallDate

date

None.

CompleteDate

date

None.

EstimatedShipDate

date

None.

Description

string

String length: inclusive between 0 and 255

CustomerID

integer

None.

ContactID

integer

None.

LocationID

integer

None.

IsInstallerToLocate

boolean

None.

IsSiteLevel

boolean

None.

IsSiteAccessible

boolean

None.

IsInstallerToUnload

boolean

None.

TrashRemovedBy

string

String length: inclusive between 0 and 50

TrashNotes

string

String length: inclusive between 0 and 250

SurfaceDepth

string

String length: inclusive between 0 and 50

IsDrawingAttached

boolean

None.

DrawingNumber

string

String length: inclusive between 0 and 50

InternalComments

string

None.

InstallerNotes

string

None.

UserID

integer

None.

Status

string

String length: inclusive between 0 and 1

OrderID

integer

None.

OrderNumber

string

String length: inclusive between 0 and 50

InstallerID

integer

None.

TotalCost

decimal number

None.

ProNum

string

String length: inclusive between 0 and 50

EnteredBy

integer

None.

InvoiceCustomerID

integer

None.

InvoiceContactID

integer

None.

InvoiceLocationID

integer

None.

EndCustomerID

integer

None.

EndContactID

integer

None.

EndLocationID

integer

None.

TopViewPDF

string

String length: inclusive between 0 and 150

InstallationCompletionDate

date

None.

ActualCompletionDate

date

None.

WasRCI

boolean

None.

RCI_ID

integer

None.

PremierID

integer

None.

WestRecreationID

integer

None.

NorCalID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "workOrderID": 1,
  "agencyID": 2,
  "workOrderNumber": "sample string 3",
  "gtNum": "sample string 4",
  "dateLastUpdated": "2025-12-09T23:03:21.6188223-05:00",
  "dateCreated": "2025-12-09T23:03:21.6188223-05:00",
  "installDate": "2025-12-09T23:03:21.6188223-05:00",
  "completeDate": "2025-12-09T23:03:21.6188223-05:00",
  "estimatedShipDate": "2025-12-09T23:03:21.6188223-05:00",
  "description": "sample string 6",
  "customerID": 1,
  "contactID": 1,
  "locationID": 1,
  "isInstallerToLocate": true,
  "isSiteLevel": true,
  "isSiteAccessible": true,
  "isInstallerToUnload": true,
  "trashRemovedBy": "sample string 11",
  "trashNotes": "sample string 12",
  "surfaceDepth": "sample string 13",
  "isDrawingAttached": true,
  "drawingNumber": "sample string 15",
  "internalComments": "sample string 16",
  "installerNotes": "sample string 17",
  "userID": 1,
  "status": "sample string 18",
  "orderID": 1,
  "orderNumber": "sample string 19",
  "installerID": 1,
  "totalCost": 1.0,
  "proNum": "sample string 20",
  "enteredBy": 1,
  "invoiceCustomerID": 1,
  "invoiceContactID": 1,
  "invoiceLocationID": 1,
  "endCustomerID": 1,
  "endContactID": 1,
  "endLocationID": 1,
  "topViewPDF": "sample string 21",
  "installationCompletionDate": "2025-12-09T23:03:21.6198326-05:00",
  "actualCompletionDate": "2025-12-09T23:03:21.6198326-05:00",
  "wasRCI": true,
  "rcI_ID": 1,
  "premierID": 1,
  "westRecreationID": 1,
  "norCalID": 1
}

application/xml, text/xml

Sample:
<WorkOrder xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameTimeDAL.Model">
  <ActualCompletionDate>2025-12-09T23:03:21.6198326-05:00</ActualCompletionDate>
  <AgencyID>2</AgencyID>
  <CompleteDate>2025-12-09T23:03:21.6188223-05:00</CompleteDate>
  <ContactID>1</ContactID>
  <CustomerID>1</CustomerID>
  <DateCreated>2025-12-09T23:03:21.6188223-05:00</DateCreated>
  <DateLastUpdated>2025-12-09T23:03:21.6188223-05:00</DateLastUpdated>
  <Description>sample string 6</Description>
  <DrawingNumber>sample string 15</DrawingNumber>
  <EndContactID>1</EndContactID>
  <EndCustomerID>1</EndCustomerID>
  <EndLocationID>1</EndLocationID>
  <EnteredBy>1</EnteredBy>
  <EstimatedShipDate>2025-12-09T23:03:21.6188223-05:00</EstimatedShipDate>
  <GTNum>sample string 4</GTNum>
  <InstallDate>2025-12-09T23:03:21.6188223-05:00</InstallDate>
  <InstallationCompletionDate>2025-12-09T23:03:21.6198326-05:00</InstallationCompletionDate>
  <InstallerID>1</InstallerID>
  <InstallerNotes>sample string 17</InstallerNotes>
  <InternalComments>sample string 16</InternalComments>
  <InvoiceContactID>1</InvoiceContactID>
  <InvoiceCustomerID>1</InvoiceCustomerID>
  <InvoiceLocationID>1</InvoiceLocationID>
  <IsDrawingAttached>true</IsDrawingAttached>
  <IsInstallerToLocate>true</IsInstallerToLocate>
  <IsInstallerToUnload>true</IsInstallerToUnload>
  <IsSiteAccessible>true</IsSiteAccessible>
  <IsSiteLevel>true</IsSiteLevel>
  <LocationID>1</LocationID>
  <NorCalID>1</NorCalID>
  <OrderID>1</OrderID>
  <OrderNumber>sample string 19</OrderNumber>
  <PremierID>1</PremierID>
  <ProNum>sample string 20</ProNum>
  <RCI_ID>1</RCI_ID>
  <Status>sample string 18</Status>
  <SurfaceDepth>sample string 13</SurfaceDepth>
  <TopViewPDF>sample string 21</TopViewPDF>
  <TotalCost>1</TotalCost>
  <TrashNotes>sample string 12</TrashNotes>
  <TrashRemovedBy>sample string 11</TrashRemovedBy>
  <UserID>1</UserID>
  <WasRCI>true</WasRCI>
  <WestRecreationID>1</WestRecreationID>
  <WorkOrderID>1</WorkOrderID>
  <WorkOrderNumber>sample string 3</WorkOrderNumber>
</WorkOrder>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.