--- title: Work Order Management API description: The Work Order Management API provides endpoints to create, update, and retrieve work orders.Retrieves a specified work order from the Work Order \[wm\_order\] table.Retrieves a list of all work orders from the Work Order \[wm\_order\] table.Updates a work order and associated tasks.Cancels a specified work order and all associated tasks.Creates a work order and associated tasks. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/work-order-mgmt-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 52 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # Work Order Management API The Work Order Management API provides endpoints to create, update, and retrieve work orders. This API is included in the Telecommunication Open APIs application, which is available on the ServiceNow Store. This API is provided within the `sn_tmf_api` namespace. The calling user must have the sn\_tmf\_api.work\_order\_integrator role. The Work Order Management API is a ServiceNow implementation of the TM Forum Work Order Management API REST specification. This implementation is based on the [TMF697 Work Order Management API v5.0](https://www.tmforum.org/oda/open-apis/directory/work-order-management-api-TMF697/v5.0.0). **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## Work Order Management - GET /sn\_tmf\_api/work\_order\_management\_api/workorder/\{id\} Retrieves a specified work order from the Work Order \[wm\_order\] table. ### URL format Versioned URL: `/api/sn_tmf_api/{api_version}/work_order_management_api/workorder/{id}` Default URL: `/api/sn_tmf_api/work_order_management_api/workorder/{id}` ### Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys\_id or external\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| Name | Description |
|---|---|
| fields | List of fields to return in the response. Invalid fields are ignored.Valid values: - @type - category - completionDate - description - expectedCompletionDate - href - id - initiatedFrom - priority - requestedCompletionDate - requestedStartDate - shortDescription - startDate - state - workOrderNumber Default: Returns all fields. Data type: String |
| Name | Description |
|---|---|
| category | Category for the work order that can be used by an order management system, such as `enterprise` or `residential`.Data type: String |
| shortDescription | Brief summary of the work order.Data type: String |
| startDate | Date and time when the order started.Data type: String |
| requestedCompletionDate | Requested completion date and time.Data type: String |
| href | Relative link to the work order record.Data type: String |
| requestedStartDate | Order fulfillment start date designated by the requester. Used in cases where the requester can't allow the provider to begin fulfillment before a specified date.Data type: String |
| priority | Priority ranking for the work order.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| state | State of the work order. Possible values: - Draft - Awaiting qualification - Qualified - Assigned - Work in progress - Complete Data type: String |
| initiatedFrom | Reference id indicating where the work order was initiated.Data type: String |
| completionDate | Date and time the work order was completed.Data type: String |
| expectedCompletionDate | Expected completion date and time designated by the provider.Data type: String |
| description | Description of the work order.Data type: String |
| workOrderNumber | Unique identifier for the work order, such as WO0008004.Table: Work Order \[wm\_order\] Field: Number Data type: String |
| id | Sys\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| @type | This value is always `WorkOrder`.Data type: String |
| place | The geographic location associated with the work order.Data type: Object ``` "place": { "@type": "String", "id": "String", "relatedParty": [Array] } ``` |
| place.@type | This value is always `GeographicSite`.Data type: String |
| place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| place.relatedParty | List of support groups for the location.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| place.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| place.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| place.relatedParty.name | Name of the support group.Data type: String |
| place.relatedParty.role | Role of the support group.Data type: String |
| relatedParty | List of associated contacts for the work order.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| relatedParty.id | Sys\_id of the related party.Table: Account \[customer\_account\], Company \[core\_company\], or User \[sys\_user\] Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.role | Role of the related party.Possible values: - Account - Company - Consumer - Contact Data type: String |
| relatedProductOrder | List of product orders for the work order.Data type: Array ``` "relatedProductOrder": [ { "@type": "String", "id": "String" } ] ``` |
| relatedProductOrder.@type | This value is always `ProductOrderRef`.Data type: String |
| relatedProductOrder.id | Sys\_id of the product order.Table: Product Order \[sn\_ind\_tmt\_orm\_product\_order\] Data type: String |
| externalIdentifier | List of external references such as vendor or correlation ID.Data type: Array ``` "externalIdentifier": [ { "@type": "String", "id": "String" } ] ``` |
| externalIdentifier.@type | This value is always `ExternalIdentifierRef`.Data type: String |
| externalIdentifier.id | External reference such as vendor or correlation ID.Data type: String |
| workOrderItem | List of tasks under the work order.Data type: Array ``` "workOrderItem": [ { "@type": "String", "description": "String", "id": "String", "shortDescription": "String", "state": "String", "work": {Object} } ] ``` |
| workOrderItem.@type | This value is always `WorkOrderItem`.Data type: String |
| workOrderItem.description | Description of the task.Data type: String |
| workOrderItem.id | Sys\_id of the task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.shortDescription | Short description of the task.Data type: String |
| workOrderItem.state | State of the task.Data type: String |
| workOrderItem.work | Description of the work required for the task.Data type: Object ``` "work": { "@type": "String", "expectedCompletionDate": "String", "id": "String", "place": [Array], "relatedParty": [Array], "relatedWork": [Array], "scheduledStartDate": "String", "workforceEmployeeAssignment": [Array], "workPriority": "String", "workType": "String" } ``` |
| workOrderItem.work.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.expectedCompletionDate | Expected completion date for the task.Data type: String |
| workOrderItem.work.id | Sys\_id of the work type for the task.Table: Work Type \[wm\_work\_type\] Data type: String |
| workOrderItem.work.place | List of geographic locations associated with the task.``` "place": [ { "@type": "String", "place": {Object}, "role": "String" } ] ``` |
| workOrderItem.work.place.@type | This value is always `RelatedPlaceRefOrValue`.Data type: String |
| workOrderItem.work.place.place | Details about the location.Data type: Object ``` "place": { "@type": "String", "id": "String" } ``` |
| workOrderItem.work.place.place.@type | This value is always `GeographicSite`.Data type: String |
| workOrderItem.work.place.place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| workOrderItem.work.place.role | Role of this location in the context of the task.Data type: String |
| workOrderItem.work.relatedParty | List of support groups for the task.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| workOrderItem.work.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| workOrderItem.work.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.relatedParty.name | Name of the support group.Data type: String |
| workOrderItem.work.relatedParty.role | Role of the support group.Data type: String |
| workOrderItem.work.relatedWork | List of related work order tasks. Data type: Array ``` "relatedWork": [ { "@type": "String", "id": "String" } ] ``` |
| workOrderItem.work.relatedWork.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.relatedWork.id | Sys\_id of the related task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.work.scheduledStartDate | Scheduled start date for the task.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment | Assignment details for the task.Data type: Array ``` "workforceEmployeeAssignment": [ { "@type":"String", "id": "String", "workforceEmployee": {Object} } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.@type | This value is always `WorkforceEmployeeAssignment`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.id | Sys\_id of the group assigned to the task.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee | Details about the employee assigned to the task.Data type: Object ``` "workforceEmployee": { "@type": "String", "contactMedium": [Array], "id": "String", "name": "String" } ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.@type | This value is always `Individual`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium | List of the employee's phone numbers.Data type: Array ``` "contactMedium": [ { "@type": "String", "phoneNumber": "String" } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.@type | This value is always `PhoneContactMedium`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.phoneNumber | Phone number for the employee.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.id | Sys\_id of the employee.Table: User \[sys\_user\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.name | Name of the employee.Data type: String |
| workOrderItem.work.workPriority | Priority ranking for the task.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| workOrderItem.work.workType | The work type for the task.Table: Work Type \[wm\_work\_type\] Field: Name Data type: String |
| workOrderRelationship | List of task relationships to the work order.Data type: Array ``` "workOrderRelationship": [ { "@type": "String", "id": "String", "relationshipType": "String" } ] ``` |
| workOrderRelationship.@type | This value is always `OrderRelationship`.Data type: String |
| workOrderRelationship.id | Sys\_id of the task relationship.Table: Task Relationship \[task\_rel\_task\] Data type: String |
| workOrderRelationship.relationshipType | Task relationship type.Data type: String |
| note | List of notes about the order.Data type: Array ``` "note": [ { "@type": "String", "author": "String", "date": "String", "text": "String" } ] ``` |
| note.@type | This value is always `Note`.Data type: String |
| note.author | Author of the note.Data type: String |
| note.date | Date the note was added to the work order.Data type: String |
| note.text | The note text.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| fields | List of fields to return in the response. Invalid fields are ignored.Valid values: - @type - category - completionDate - description - expectedCompletionDate - href - id - initiatedFrom - priority - requestedCompletionDate - requestedStartDate - shortDescription - startDate - state - workOrderNumber Default: Returns all fields. Data type: String |
| id | Sys\_ids to use to filter work orders. Only work orders matching the specified sys\_ids are returned in the response.Table: Work Order \[wm\_order\] Data type: String |
| limit | Maximum number of records to return. For requests that exceed this number of records, use the **offset** parameter to paginate record retrieval.Default: 20 Data type: Number |
| offset | Starting index at which to begin retrieving records. Use this value to paginate record retrieval. This functionality enables the retrieval of all records, regardless of the number of records, in small manageable chunks.Default: 0 Data type: Number |
| Header | Description |
|---|---|
| Content-Range | Range of content returned in a paginated call. For example, if `offset=2` and `limit=3`, the value of the **Content-Range** header is `items 3-5`. |
| Content-Type | Data format of the response body. Only supports **application/json**. |
| Link | Contains the following links to navigate through query results.- first - last - next - previous |
| X-Total-Count | For paginated queries, this header specifies the total number of records available on the server. |
| Name | Description |
|---|---|
| category | Category for the work order that can be used by an order management system, such as `enterprise` or `residential`.Data type: String |
| shortDescription | Brief summary of the work order.Data type: String |
| startDate | Date and time when the order started.Data type: String |
| requestedCompletionDate | Requested completion date and time.Data type: String |
| href | Relative link to the work order record.Data type: String |
| requestedStartDate | Order fulfillment start date designated by the requester. Used in cases where the requester can't allow the provider to begin fulfillment before a specified date.Data type: String |
| priority | Priority ranking for the work order.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| state | State of the work order. Possible values: - Draft - Awaiting qualification - Qualified - Assigned - Work in progress - Complete Data type: String |
| initiatedFrom | Reference id indicating where the work order was initiated.Data type: String |
| completionDate | Date and time the work order was completed.Data type: String |
| expectedCompletionDate | Expected completion date and time designated by the provider.Data type: String |
| description | Description of the work order.Data type: String |
| workOrderNumber | Unique identifier for the work order, such as WO0008004.Table: Work Order \[wm\_order\] Field: Number Data type: String |
| id | Sys\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| @type | This value is always `WorkOrder`.Data type: String |
| place | The geographic location associated with the work order.Data type: Object ``` "place": { "@type": "String", "id": "String", "relatedParty": [Array] } ``` |
| place.@type | This value is always `GeographicSite`.Data type: String |
| place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| place.relatedParty | List of support groups for the location.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| place.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| place.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| place.relatedParty.name | Name of the support group.Data type: String |
| place.relatedParty.role | Role of the support group.Data type: String |
| relatedParty | List of associated contacts for the work order.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| relatedParty.id | Sys\_id of the related party.Table: Account \[customer\_account\], Company \[core\_company\], or User \[sys\_user\] Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.role | Role of the related party.Possible values: - Account - Company - Consumer - Contact Data type: String |
| relatedProductOrder | List of product orders for the work order.Data type: Array ``` "relatedProductOrder": [ { "@type": "String", "id": "String" } ] ``` |
| relatedProductOrder.@type | This value is always `ProductOrderRef`.Data type: String |
| relatedProductOrder.id | Sys\_id of the product order.Table: Product Order \[sn\_ind\_tmt\_orm\_product\_order\] Data type: String |
| externalIdentifier | List of external references such as vendor or correlation ID.Data type: Array ``` "externalIdentifier": [ { "@type": "String", "id": "String" } ] ``` |
| externalIdentifier.@type | This value is always `ExternalIdentifierRef`.Data type: String |
| externalIdentifier.id | External reference such as vendor or correlation ID.Data type: String |
| workOrderItem | List of tasks under the work order.Data type: Array ``` "workOrderItem": [ { "@type": "String", "description": "String", "id": "String", "shortDescription": "String", "state": "String", "work": {Object} } ] ``` |
| workOrderItem.@type | This value is always `WorkOrderItem`.Data type: String |
| workOrderItem.description | Description of the task.Data type: String |
| workOrderItem.id | Sys\_id of the task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.shortDescription | Short description of the task.Data type: String |
| workOrderItem.state | State of the task.Data type: String |
| workOrderItem.work | Description of the work required for the task.Data type: Object ``` "work": { "@type": "String", "expectedCompletionDate": "String", "id": "String", "place": [Array], "relatedParty": [Array], "relatedWork": [Array], "scheduledStartDate": "String", "workforceEmployeeAssignment": [Array], "workPriority": "String", "workType": "String" } ``` |
| workOrderItem.work.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.expectedCompletionDate | Expected completion date for the task.Data type: String |
| workOrderItem.work.id | Sys\_id of the work type for the task.Table: Work Type \[wm\_work\_type\] Data type: String |
| workOrderItem.work.place | List of geographic locations associated with the task.``` "place": [ { "@type": "String", "place": {Object}, "role": "String" } ] ``` |
| workOrderItem.work.place.@type | This value is always `RelatedPlaceRefOrValue`.Data type: String |
| workOrderItem.work.place.place | Details about the location.Data type: Object ``` "place": { "@type": "String", "id": "String" } ``` |
| workOrderItem.work.place.place.@type | This value is always `GeographicSite`.Data type: String |
| workOrderItem.work.place.place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| workOrderItem.work.place.role | Role of this location in the context of the task.Data type: String |
| workOrderItem.work.relatedParty | List of support groups for the task.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| workOrderItem.work.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| workOrderItem.work.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.relatedParty.name | Name of the support group.Data type: String |
| workOrderItem.work.relatedParty.role | Role of the support group.Data type: String |
| workOrderItem.work.relatedWork | List of related work order tasks. Data type: Array ``` "relatedWork": [ { "@type": "String", "id": "String" } ] ``` |
| workOrderItem.work.relatedWork.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.relatedWork.id | Sys\_id of the related task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.work.scheduledStartDate | Scheduled start date for the task.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment | Assignment details for the task.Data type: Array ``` "workforceEmployeeAssignment": [ { "@type":"String", "id": "String", "workforceEmployee": {Object} } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.@type | This value is always `WorkforceEmployeeAssignment`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.id | Sys\_id of the group assigned to the task.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee | Details about the employee assigned to the task.Data type: Object ``` "workforceEmployee": { "@type": "String", "contactMedium": [Array], "id": "String", "name": "String" } ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.@type | This value is always `Individual`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium | List of the employee's phone numbers.Data type: Array ``` "contactMedium": [ { "@type": "String", "phoneNumber": "String" } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.@type | This value is always `PhoneContactMedium`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.phoneNumber | Phone number for the employee.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.id | Sys\_id of the employee.Table: User \[sys\_user\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.name | Name of the employee.Data type: String |
| workOrderItem.work.workPriority | Priority ranking for the task.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| workOrderItem.work.workType | The work type for the task.Table: Work Type \[wm\_work\_type\] Field: Name Data type: String |
| workOrderRelationship | List of task relationships to the work order.Data type: Array ``` "workOrderRelationship": [ { "@type": "String", "id": "String", "relationshipType": "String" } ] ``` |
| workOrderRelationship.@type | This value is always `OrderRelationship`.Data type: String |
| workOrderRelationship.id | Sys\_id of the task relationship.Table: Task Relationship \[task\_rel\_task\] Data type: String |
| workOrderRelationship.relationshipType | Task relationship type.Data type: String |
| note | List of notes about the order.Data type: Array ``` "note": [ { "@type": "String", "author": "String", "date": "String", "text": "String" } ] ``` |
| note.@type | This value is always `Note`.Data type: String |
| note.author | Author of the note.Data type: String |
| note.date | Date the note was added to the work order.Data type: String |
| note.text | The note text.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| id | Sys\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| Name | Description |
|---|---|
| shortDescription | Brief summary of the work order.Data type: String |
| startDate | Date and time when the order started.Data type: String |
| requestedCompletionDate | Requested completion date and time.Data type: String |
| href | Relative link to the work order record.Data type: String |
| requestedStartDate | Order fulfillment start date designated by the requester. Used in cases where the requester can't allow the provider to begin fulfillment before a specified date.Data type: String |
| priority | Priority ranking for the work order.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| state | State of the work order. Possible values: - Draft - Awaiting qualification - Qualified - Assigned - Work in progress - Complete Data type: String |
| initiatedFrom | Reference id indicating where the work order was initiated.Data type: String |
| completionDate | Date and time the work order was completed.Data type: String |
| expectedCompletionDate | Expected completion date and time designated by the provider.Data type: String |
| description | Description of the work order.Data type: String |
| workOrderNumber | Unique identifier for the work order, such as WO0008004.Table: Work Order \[wm\_order\] Field: Number Data type: String |
| id | Sys\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| @type | This value is always `WorkOrder`.Data type: String |
| templateId | Sys\_id of the template to use for the work order.Table: Product Model \[cmdb\_model\] Data type: String |
| place | The geographic location associated with the work order.Data type: Object ``` "place": { "@type": "String", "id": "String", "relatedParty": [Array] } ``` |
| place.@type | This value is always `GeographicSite`.Data type: String |
| place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| place.relatedParty | List of support groups for the location.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| place.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| place.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| place.relatedParty.name | Name of the support group.Data type: String |
| place.relatedParty.role | Role of the support group.Data type: String |
| relatedParty | List of associated contacts for the work order.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| relatedParty.id | Sys\_id of the related party.Table: Account \[customer\_account\], Company \[core\_company\], or User \[sys\_user\] Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.role | Role of the related party.Possible values: - Account - Company - Consumer - Contact Data type: String |
| externalIdentifier | List of external references such as vendor or correlation ID.Data type: Array ``` "externalIdentifier": [ { "@type": "String", "id": "String" } ] ``` |
| externalIdentifier.@type | This value is always `ExternalIdentifierRef`.Data type: String |
| externalIdentifier.id | External reference such as vendor or correlation ID.Data type: String |
| workOrderItem | List of tasks under the work order.Data type: Array ``` "workOrderItem": [ { "@type": "String", "action": "String", "completionDate": "String", "description": "String", "id": "String", "note": {Object}, "shortDescription": "String", "state": "String", "work": {Object} } ] ``` |
| workOrderItem.@type | This value is always `WorkOrderItem`.Data type: String |
| workOrderItem.action | Action to perform on the product for the task. Possible values: - add - delete - modify - noChange Data type: String |
| workOrderItem.completionDate | Date and time the task was completed.Data type: String |
| workOrderItem.description | Description of the task.Data type: String |
| workOrderItem.id | Sys\_id of the task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.note | List of notes about the task.Data type: Array ``` "note": [ { "@type": "String", "text": "String" } ] ``` |
| workOrderItem.note.@type | This value is always `Note`.Data type: String |
| workOrderItem.note.text | The note text.Data type: String |
| workOrderItem.shortDescription | Short description of the task.Data type: String |
| workOrderItem.state | State of the task.Data type: String |
| workOrderItem.work | Description of the work required for the task.Data type: Object ``` "work": { "@type": "String", "expectedCompletionDate": "String", "id": "String", "place": [Array], "relatedParty": [Array], "scheduledStartDate": "String", "workforceEmployeeAssignment": [Array], "workPriority": "String", "workType": "String" } ``` |
| workOrderItem.work.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.expectedCompletionDate | Expected completion date for the task.Data type: String |
| workOrderItem.work.id | Sys\_id of the work type for the task.Table: Work Type \[wm\_work\_type\] Data type: String |
| workOrderItem.work.place | List of geographic locations associated with the task.``` "place": [ { "@type": "String", "place": {Object}, "role": "String" } ] ``` |
| workOrderItem.work.place.@type | This value is always `RelatedPlaceRefOrValue`.Data type: String |
| workOrderItem.work.place.place | Details about the location.Data type: Object ``` "place": { "@type": "String", "id": "String" } ``` |
| workOrderItem.work.place.place.@type | This value is always `GeographicSite`.Data type: String |
| workOrderItem.work.place.place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| workOrderItem.work.place.role | Role of this location in the context of the task.Data type: String |
| workOrderItem.work.relatedParty | List of support groups for the task.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| workOrderItem.work.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| workOrderItem.work.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.relatedParty.name | Name of the support group.Data type: String |
| workOrderItem.work.relatedParty.role | Role of the support group.Data type: String |
| workOrderItem.work.scheduledStartDate | Scheduled start date for the task.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment | Assignment details for the task.Data type: Array ``` "workforceEmployeeAssignment": [ { "@type":"String", "id": "String", "workforceEmployee": {Object} } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.@type | This value is always `WorkforceEmployeeAssignment`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.id | Sys\_id of the group assigned to the task.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee | Details about the employee assigned to the task.Data type: Object ``` "workforceEmployee": { "@type": "String", "contactMedium": [Array], "id": "String", "name": "String" } ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.@type | This value is always `Individual`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium | List of the employee's phone numbers.Data type: Array ``` "contactMedium": [ { "@type": "String", "phoneNumber": "String" } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.@type | This value is always `PhoneContactMedium`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.phoneNumber | Phone number for the employee.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.id | Sys\_id of the employee.Table: User \[sys\_user\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.name | Name of the employee.Data type: String |
| workOrderItem.work.workPriority | Priority ranking for the task.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| workOrderItem.work.workType | The work type for the task.Table: Work Type \[wm\_work\_type\] Field: Name Data type: String |
| note | List of notes about the order.Data type: Array ``` "note": [ { "@type": "String", "text": "String" } ] ``` |
| note.@type | This value is always `Note`.Data type: String |
| note.text | The note text.Data type: String |
| Name | Description |
|---|---|
| shortDescription | Brief summary of the work order.Data type: String |
| startDate | Date and time when the order started.Data type: String |
| requestedCompletionDate | Requested completion date and time.Data type: String |
| href | Relative link to the work order record.Data type: String |
| requestedStartDate | Order fulfillment start date designated by the requester. Used in cases where the requester can't allow the provider to begin fulfillment before a specified date.Data type: String |
| priority | Priority ranking for the work order.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| state | State of the work order. Possible values: - Draft - Awaiting qualification - Qualified - Assigned - Work in progress - Complete Data type: String |
| initiatedFrom | Reference id indicating where the work order was initiated.Data type: String |
| completionDate | Date and time the work order was completed.Data type: String |
| expectedCompletionDate | Expected completion date and time designated by the provider.Data type: String |
| description | Description of the work order.Data type: String |
| workOrderNumber | Unique identifier for the work order, such as WO0008004.Table: Work Order \[wm\_order\] Field: Number Data type: String |
| id | Sys\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| @type | This value is always `WorkOrder`.Data type: String |
| templateId | Sys\_id of the template to use for the work order.Table: Product Model \[cmdb\_model\] Data type: String |
| place | The geographic location associated with the work order.Data type: Object ``` "place": { "@type": "String", "id": "String", "relatedParty": [Array] } ``` |
| place.@type | This value is always `GeographicSite`.Data type: String |
| place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| place.relatedParty | List of support groups for the location.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| place.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| place.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| place.relatedParty.name | Name of the support group.Data type: String |
| place.relatedParty.role | Role of the support group.Data type: String |
| relatedParty | List of associated contacts for the work order.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| relatedParty.id | Sys\_id of the related party.Table: Account \[customer\_account\], Company \[core\_company\], or User \[sys\_user\] Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.role | Role of the related party.Possible values: - Account - Company - Consumer - Contact Data type: String |
| externalIdentifier | List of external references such as vendor or correlation ID.Data type: Array ``` "externalIdentifier": [ { "@type": "String", "id": "String" } ] ``` |
| externalIdentifier.@type | This value is always `ExternalIdentifierRef`.Data type: String |
| externalIdentifier.id | External reference such as vendor or correlation ID.Data type: String |
| workOrderItem | List of tasks under the work order.Data type: Array ``` "workOrderItem": [ { "@type": "String", "action": "String", "completionDate": "String", "description": "String", "id": "String", "note": {Object}, "shortDescription": "String", "state": "String", "work": {Object} } ] ``` |
| workOrderItem.@type | This value is always `WorkOrderItem`.Data type: String |
| workOrderItem.action | Action to perform on the product for the task. Possible values: - add - delete - modify - noChange Data type: String |
| workOrderItem.completionDate | Date and time the task was completed.Data type: String |
| workOrderItem.description | Description of the task.Data type: String |
| workOrderItem.id | Sys\_id of the task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.note | List of notes about the task.Data type: Array ``` "note": [ { "@type": "String", "text": "String" } ] ``` |
| workOrderItem.note.@type | This value is always `Note`.Data type: String |
| workOrderItem.note.text | The note text.Data type: String |
| workOrderItem.shortDescription | Short description of the task.Data type: String |
| workOrderItem.state | State of the task.Data type: String |
| workOrderItem.work | Description of the work required for the task.Data type: Object ``` "work": { "@type": "String", "expectedCompletionDate": "String", "id": "String", "place": [Array], "relatedParty": [Array], "scheduledStartDate": "String", "workforceEmployeeAssignment": [Array], "workPriority": "String", "workType": "String" } ``` |
| workOrderItem.work.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.expectedCompletionDate | Expected completion date for the task.Data type: String |
| workOrderItem.work.id | Sys\_id of the work type for the task.Table: Work Type \[wm\_work\_type\] Data type: String |
| workOrderItem.work.place | List of geographic locations associated with the task.``` "place": [ { "@type": "String", "place": {Object}, "role": "String" } ] ``` |
| workOrderItem.work.place.@type | This value is always `RelatedPlaceRefOrValue`.Data type: String |
| workOrderItem.work.place.place | Details about the location.Data type: Object ``` "place": { "@type": "String", "id": "String" } ``` |
| workOrderItem.work.place.place.@type | This value is always `GeographicSite`.Data type: String |
| workOrderItem.work.place.place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| workOrderItem.work.place.role | Role of this location in the context of the task.Data type: String |
| workOrderItem.work.relatedParty | List of support groups for the task.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| workOrderItem.work.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| workOrderItem.work.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.relatedParty.name | Name of the support group.Data type: String |
| workOrderItem.work.relatedParty.role | Role of the support group.Data type: String |
| workOrderItem.work.scheduledStartDate | Scheduled start date for the task.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment | Assignment details for the task.Data type: Array ``` "workforceEmployeeAssignment": [ { "@type":"String", "id": "String", "workforceEmployee": {Object} } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.@type | This value is always `WorkforceEmployeeAssignment`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.id | Sys\_id of the group assigned to the task.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee | Details about the employee assigned to the task.Data type: Object ``` "workforceEmployee": { "@type": "String", "contactMedium": [Array], "id": "String", "name": "String" } ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.@type | This value is always `Individual`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium | List of the employee's phone numbers.Data type: Array ``` "contactMedium": [ { "@type": "String", "phoneNumber": "String" } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.@type | This value is always `PhoneContactMedium`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.phoneNumber | Phone number for the employee.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.id | Sys\_id of the employee.Table: User \[sys\_user\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.name | Name of the employee.Data type: String |
| workOrderItem.work.workPriority | Priority ranking for the task.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| workOrderItem.work.workType | The work type for the task.Table: Work Type \[wm\_work\_type\] Field: Name Data type: String |
| note | List of notes about the order.Data type: Array ``` "note": [ { "@type": "String", "text": "String" } ] ``` |
| note.@type | This value is always `Note`.Data type: String |
| note.text | The note text.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| @type | This value is always `CancelWorkOrder`.Data type: String |
| cancellationReason | Reason for canceling the work order.Data type: String |
| workOrder | Details about the work order.Data type: Object ``` "workOrder": { "@type": "String", "id": "String" } ``` |
| workOrder.@type | This value is always `WorkOrderRef`.Data type: String |
| workOrder.id | Required. Sys\_id of the work order to cancel.Table: Work Order \[wm\_order\] Data type: String |
| Name | Description |
|---|---|
| @type | This value is always `CancelWorkOrder`.Data type: String |
| cancellationReason | Reason for canceling the work order.Data type: String |
| state | State of the cancellation request. If the work order was successfully canceled, this value is `Cancelled`.Data type: String |
| workOrder | Details about the work order.Data type: Object ``` "workOrder": { "@type": "String", "id": "String" } ``` |
| workOrder.@type | This value is always `WorkOrderRef`.Data type: String |
| workOrder.id | Sys\_id of the canceled work order.Table: Work Order \[wm\_order\] Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| category | Category for the work order that can be used by an order management system, such as `enterprise` or `residential`.Data type: String |
| shortDescription | Brief summary of the work order.Data type: String |
| startDate | Date and time when the order started.Data type: String |
| requestedCompletionDate | Requested completion date and time.Data type: String |
| href | Relative link to the work order record.Data type: String |
| requestedStartDate | Order fulfillment start date designated by the requester. Used in cases where the requester can't allow the provider to begin fulfillment before a specified date.Data type: String |
| priority | Priority ranking for the work order.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| state | State of the work order. Possible values: - Draft - Awaiting qualification - Qualified - Assigned - Work in progress - Complete Data type: String |
| initiatedFrom | Reference id indicating where the work order was initiated.Data type: String |
| completionDate | Date and time the work order was completed.Data type: String |
| expectedCompletionDate | Expected completion date and time designated by the provider.Data type: String |
| description | Description of the work order.Data type: String |
| workOrderNumber | Unique identifier for the work order, such as WO0008004.Table: Work Order \[wm\_order\] Field: Number Data type: String |
| id | Sys\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| @type | This value is always `WorkOrder`.Data type: String |
| templateId | Sys\_id of the template to use for the work order.Table: Product Model \[cmdb\_model\] Data type: String |
| place | The geographic location associated with the work order.Data type: Object ``` "place": { "@type": "String", "id": "String", "relatedParty": [Array] } ``` |
| place.@type | This value is always `GeographicSite`.Data type: String |
| place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| place.relatedParty | List of support groups for the location.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| place.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| place.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| place.relatedParty.name | Name of the support group.Data type: String |
| place.relatedParty.role | Role of the support group.Data type: String |
| relatedParty | List of associated contacts for the work order.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| relatedParty.id | Sys\_id of the related party.Table: Account \[customer\_account\], Company \[core\_company\], or User \[sys\_user\] Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.role | Role of the related party.Possible values: - Account - Company - Consumer - Contact Data type: String |
| externalIdentifier | List of external references such as vendor or correlation ID.Data type: Array ``` "externalIdentifier": [ { "@type": "String", "id": "String" } ] ``` |
| externalIdentifier.@type | This value is always `ExternalIdentifierRef`.Data type: String |
| externalIdentifier.id | External reference such as vendor or correlation ID.Data type: String |
| workOrderItem | List of tasks under the work order.Data type: Array ``` "workOrderItem": [ { "@type": "String", "action": "String", "completionDate": "String", "description": "String", "id": "String", "note": {Object}, "shortDescription": "String", "state": "String", "work": {Object} } ] ``` |
| workOrderItem.@type | This value is always `WorkOrderItem`.Data type: String |
| workOrderItem.action | Action to perform on the product for the task. Possible values: - add - delete - modify - noChange Data type: String |
| workOrderItem.completionDate | Date and time the task was completed.Data type: String |
| workOrderItem.description | Description of the task.Data type: String |
| workOrderItem.id | Sys\_id of the task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.note | List of notes about the task.Data type: Array ``` "note": [ { "@type": "String", "date": "String", "text": "String" } ] ``` |
| workOrderItem.note.@type | This value is always `Note`.Data type: String |
| workOrderItem.note.date | Date the note was added to the task.Data type: String |
| workOrderItem.note.text | The note text.Data type: String |
| workOrderItem.shortDescription | Short description of the task.Data type: String |
| workOrderItem.state | State of the task.Data type: String |
| workOrderItem.work | Description of the work required for the task.Data type: Object ``` "work": { "@type": "String", "expectedCompletionDate": "String", "id": "String", "place": [Array], "relatedParty": [Array], "scheduledStartDate": "String", "workforceEmployeeAssignment": [Array], "workPriority": "String", "workType": "String" } ``` |
| workOrderItem.work.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.expectedCompletionDate | Expected completion date for the task.Data type: String |
| workOrderItem.work.id | Sys\_id of the work type for the task.Table: Work Type \[wm\_work\_type\] Data type: String |
| workOrderItem.work.place | List of geographic locations associated with the task.``` "place": [ { "@type": "String", "place": {Object}, "role": "String" } ] ``` |
| workOrderItem.work.place.@type | This value is always `RelatedPlaceRefOrValue`.Data type: String |
| workOrderItem.work.place.place | Details about the location.Data type: Object ``` "place": { "@type": "String", "id": "String" } ``` |
| workOrderItem.work.place.place.@type | This value is always `GeographicSite`.Data type: String |
| workOrderItem.work.place.place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| workOrderItem.work.place.role | Role of this location in the context of the task.Data type: String |
| workOrderItem.work.relatedParty | List of support groups for the task.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| workOrderItem.work.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| workOrderItem.work.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.relatedParty.name | Name of the support group.Data type: String |
| workOrderItem.work.relatedParty.role | Role of the support group.Data type: String |
| workOrderItem.work.scheduledStartDate | Scheduled start date for the task.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment | Assignment details for the task.Data type: Array ``` "workforceEmployeeAssignment": [ { "@type":"String", "id": "String", "workforceEmployee": {Object} } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.@type | This value is always `WorkforceEmployeeAssignment`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.id | Sys\_id of the group assigned to the task.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee | Details about the employee assigned to the task.Data type: Object ``` "workforceEmployee": { "@type": "String", "contactMedium": [Array], "id": "String", "name": "String" } ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.@type | This value is always `Individual`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium | List of the employee's phone numbers.Data type: Array ``` "contactMedium": [ { "@type": "String", "phoneNumber": "String" } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.@type | This value is always `PhoneContactMedium`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.phoneNumber | Phone number for the employee.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.id | Sys\_id of the employee.Table: User \[sys\_user\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.name | Name of the employee.Data type: String |
| workOrderItem.work.workPriority | Priority ranking for the task.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| workOrderItem.work.workType | The work type for the task.Table: Work Type \[wm\_work\_type\] Field: Name Data type: String |
| note | List of notes about the order.Data type: Array ``` "note": [ { "@type": "String", "date": "String", "text": "String" } ] ``` |
| note.@type | This value is always `Note`.Data type: String |
| note.date | Date the note was added to the work order.Data type: String |
| note.text | The note text.Data type: String |
| Name | Description |
|---|---|
| category | Category for the work order that can be used by an order management system, such as `enterprise` or `residential`.Data type: String |
| shortDescription | Brief summary of the work order.Data type: String |
| startDate | Date and time when the order started.Data type: String |
| requestedCompletionDate | Requested completion date and time.Data type: String |
| href | Relative link to the work order record.Data type: String |
| requestedStartDate | Order fulfillment start date designated by the requester. Used in cases where the requester can't allow the provider to begin fulfillment before a specified date.Data type: String |
| priority | Priority ranking for the work order.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| state | State of the work order. Possible values: - Draft - Awaiting qualification - Qualified - Assigned - Work in progress - Complete Data type: String |
| initiatedFrom | Reference id indicating where the work order was initiated.Data type: String |
| completionDate | Date and time the work order was completed.Data type: String |
| expectedCompletionDate | Expected completion date and time designated by the provider.Data type: String |
| description | Description of the work order.Data type: String |
| workOrderNumber | Unique identifier for the work order, such as WO0008004.Table: Work Order \[wm\_order\] Field: Number Data type: String |
| id | Sys\_id of the work order.Table: Work Order \[wm\_order\] Data type: String |
| @type | This value is always `WorkOrder`.Data type: String |
| templateId | Sys\_id of the template to use for the work order.Table: Product Model \[cmdb\_model\] Data type: String |
| place | The geographic location associated with the work order.Data type: Object ``` "place": { "@type": "String", "id": "String", "relatedParty": [Array] } ``` |
| place.@type | This value is always `GeographicSite`.Data type: String |
| place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| place.relatedParty | List of support groups for the location.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| place.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| place.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| place.relatedParty.name | Name of the support group.Data type: String |
| place.relatedParty.role | Role of the support group.Data type: String |
| relatedParty | List of associated contacts for the work order.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| relatedParty.id | Sys\_id of the related party.Table: Account \[customer\_account\], Company \[core\_company\], or User \[sys\_user\] Data type: String |
| relatedParty.name | Name of the related party.Data type: String |
| relatedParty.role | Role of the related party.Possible values: - Account - Company - Consumer - Contact Data type: String |
| externalIdentifier | List of external references such as vendor or correlation ID.Data type: Array ``` "externalIdentifier": [ { "@type": "String", "id": "String" } ] ``` |
| externalIdentifier.@type | This value is always `ExternalIdentifierRef`.Data type: String |
| externalIdentifier.id | External reference such as vendor or correlation ID.Data type: String |
| workOrderItem | List of tasks under the work order.Data type: Array ``` "workOrderItem": [ { "@type": "String", "action": "String", "completionDate": "String", "description": "String", "id": "String", "note": {Object}, "shortDescription": "String", "state": "String", "work": {Object} } ] ``` |
| workOrderItem.@type | This value is always `WorkOrderItem`.Data type: String |
| workOrderItem.action | Action to perform on the product for the task. Possible values: - add - delete - modify - noChange Data type: String |
| workOrderItem.completionDate | Date and time the task was completed.Data type: String |
| workOrderItem.description | Description of the task.Data type: String |
| workOrderItem.id | Sys\_id of the task.Table: Work Order Task \[wm\_task\] Data type: String |
| workOrderItem.note | List of notes about the task.Data type: Array ``` "note": [ { "@type": "String", "date": "String", "text": "String" } ] ``` |
| workOrderItem.note.@type | This value is always `Note`.Data type: String |
| workOrderItem.note.date | Date the note was added to the task.Data type: String |
| workOrderItem.note.text | The note text.Data type: String |
| workOrderItem.shortDescription | Short description of the task.Data type: String |
| workOrderItem.state | State of the task.Data type: String |
| workOrderItem.work | Description of the work required for the task.Data type: Object ``` "work": { "@type": "String", "expectedCompletionDate": "String", "id": "String", "place": [Array], "relatedParty": [Array], "scheduledStartDate": "String", "workforceEmployeeAssignment": [Array], "workPriority": "String", "workType": "String" } ``` |
| workOrderItem.work.@type | This value is always `WorkRefOrValue`.Data type: String |
| workOrderItem.work.expectedCompletionDate | Expected completion date for the task.Data type: String |
| workOrderItem.work.id | Sys\_id of the work type for the task.Table: Work Type \[wm\_work\_type\] Data type: String |
| workOrderItem.work.place | List of geographic locations associated with the task.``` "place": [ { "@type": "String", "place": {Object}, "role": "String" } ] ``` |
| workOrderItem.work.place.@type | This value is always `RelatedPlaceRefOrValue`.Data type: String |
| workOrderItem.work.place.place | Details about the location.Data type: Object ``` "place": { "@type": "String", "id": "String" } ``` |
| workOrderItem.work.place.place.@type | This value is always `GeographicSite`.Data type: String |
| workOrderItem.work.place.place.id | Sys\_id of the location.Table: Location \[cmn\_location\] Data type: String |
| workOrderItem.work.place.role | Role of this location in the context of the task.Data type: String |
| workOrderItem.work.relatedParty | List of support groups for the task.Data type: Array ``` "relatedParty": [ { "@type": "String", "id": "String", "name": "String", "role": "String" } ] ``` |
| workOrderItem.work.relatedParty.@type | This value is always `RelatedPartyRef`.Data type: String |
| workOrderItem.work.relatedParty.id | Sys\_id of the support group.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.relatedParty.name | Name of the support group.Data type: String |
| workOrderItem.work.relatedParty.role | Role of the support group.Data type: String |
| workOrderItem.work.scheduledStartDate | Scheduled start date for the task.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment | Assignment details for the task.Data type: Array ``` "workforceEmployeeAssignment": [ { "@type":"String", "id": "String", "workforceEmployee": {Object} } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.@type | This value is always `WorkforceEmployeeAssignment`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.id | Sys\_id of the group assigned to the task.Table: Group \[sys\_user\_group\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee | Details about the employee assigned to the task.Data type: Object ``` "workforceEmployee": { "@type": "String", "contactMedium": [Array], "id": "String", "name": "String" } ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.@type | This value is always `Individual`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium | List of the employee's phone numbers.Data type: Array ``` "contactMedium": [ { "@type": "String", "phoneNumber": "String" } ] ``` |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.@type | This value is always `PhoneContactMedium`.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.contactMedium.phoneNumber | Phone number for the employee.Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.id | Sys\_id of the employee.Table: User \[sys\_user\] Data type: String |
| workOrderItem.work.workforceEmployeeAssignment.workforceEmployee.name | Name of the employee.Data type: String |
| workOrderItem.work.workPriority | Priority ranking for the task.Possible values: - 1 - Critical - 2 - High - 3 - Moderate - 4 - Low - 5 - Planning Data type: String |
| workOrderItem.work.workType | The work type for the task.Table: Work Type \[wm\_work\_type\] Field: Name Data type: String |
| note | List of notes about the order.Data type: Array ``` "note": [ { "@type": "String", "date": "String", "text": "String" } ] ``` |
| note.@type | This value is always `Note`.Data type: String |
| note.date | Date the note was added to the work order.Data type: String |
| note.text | The note text.Data type: String |