Skip to main content

Work Orders

Entity›Activity›Activity.WorkOrder

Work orders represent service work and field operations in your CRM. They track work to be performed, often linked to projects or customer requests.

Use the Activity_WorkOrder endpoint to manage work orders. Work orders inherit all fields from Activity.

Endpoints​

List Work Orders​

GET/v1/odata/Activity_WorkOrder

Single Work Order​

GET/v1/odata/Activity_WorkOrder({id})

Create Work Order​

POST/v1/odata/Activity_WorkOrder

Update Work Order​

PUT/v1/odata/Activity_WorkOrder({id})

Delete Work Order​

DELETE/v1/odata/Activity_WorkOrder({id})

Fields​

Inherited Fields (from Activity)​

See Activity Fields for all inherited fields.

Relationships​

RelationshipTarget EntityCardinalityDescription
RelationshipRelationshipN:1Linked relation
ContactRelation.Person.ContactN:1Contact person
PhaseDatastore.Phase.ActivityWorkOrderN:1Work order phase
LinkedActivitiesActivity1:NLinked activities
TimeRegistrationsTimeRegistration1:NTime registrations

Expanding Relationships​

GET/v1/odata/Activity_WorkOrder({id})?$expand=Relationship
GET/v1/odata/Activity_WorkOrder({id})/Relationship

Filtering Examples​

GET/v1/odata/Activity_WorkOrder?$filter=contains(Subject, '{Subject}')&$top={top}
GET/v1/odata/Activity_WorkOrder?$filter=IsClosed eq {IsClosed}&$top={top}
GET/v1/odata/Activity_WorkOrder?$filter=CreationDate gt {CreationDate}&$top={top}

Custom Query​

Build your own OData query against Activity_WorkOrder. Open Run and edit the whole request inline — swap the entity set, change the $filter, or add $expand, $select, $orderby, $top, $skip. Type $ for suggestions; use ↺ Reset to restore this example.

GET/v1/odata/Activity_WorkOrder?$top=10