POST api/jobs
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.Jobs.JobDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| AllocatedToId | globally unique identifier |
None. |
|
| ContactId | globally unique identifier |
None. |
|
| SiteId | globally unique identifier |
Required |
|
| DestinationStateId | globally unique identifier |
None. |
|
| JobTypeId | globally unique identifier |
Required |
|
| Name | string |
Required |
|
| ScheduledDate | date |
Required |
|
| CreatedDate | date |
Required |
|
| UpdatedDate | date |
None. |
|
| TimeInMinutes | integer |
Required |
|
| Notes | string |
None. |
|
| ExternalRef | string |
None. |
|
| ParentJobId | globally unique identifier |
None. |
|
| JobCategoryId | globally unique identifier |
None. |
|
| IsGroupJob | boolean |
None. |
|
| AssetId | globally unique identifier |
None. |
|
| StateId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": "ec6becd7-f208-4c86-933f-245b31eb257a",
"allocatedToId": "968a2e08-d44d-4566-86ed-daed425f3824",
"contactId": "77970229-665f-42cf-b805-d8eb91252dee",
"siteId": "a324ac5e-c3e7-4a03-870f-24a9470e8301",
"destinationStateId": "7f6baa84-67df-4f99-8da5-c4cfed3384c3",
"jobTypeId": "5ff70699-a4d9-458a-ac76-c04c7ec6c98d",
"name": "sample string 3",
"scheduledDate": "2026-09-05T22:51:28.645938Z",
"createdDate": "2026-09-05T22:51:28.645938Z",
"updatedDate": "2026-09-05T22:51:28.645938Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "23cf3293-d251-4969-9332-cc940510f19a",
"jobCategoryId": "79a0686b-8d3e-432c-9797-02ed726b2fed",
"isGroupJob": true,
"assetId": "308ede9c-ef2f-475c-8e8f-bf4cc5706855",
"stateId": "093fd6ea-04eb-4659-9b62-e123a0cb745a"
}
text/html
Sample:
{"id":"ec6becd7-f208-4c86-933f-245b31eb257a","allocatedToId":"968a2e08-d44d-4566-86ed-daed425f3824","contactId":"77970229-665f-42cf-b805-d8eb91252dee","siteId":"a324ac5e-c3e7-4a03-870f-24a9470e8301","destinationStateId":"7f6baa84-67df-4f99-8da5-c4cfed3384c3","jobTypeId":"5ff70699-a4d9-458a-ac76-c04c7ec6c98d","name":"sample string 3","scheduledDate":"2026-09-05T22:51:28.645938Z","createdDate":"2026-09-05T22:51:28.645938Z","updatedDate":"2026-09-05T22:51:28.645938Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"23cf3293-d251-4969-9332-cc940510f19a","jobCategoryId":"79a0686b-8d3e-432c-9797-02ed726b2fed","isGroupJob":true,"assetId":"308ede9c-ef2f-475c-8e8f-bf4cc5706855","stateId":"093fd6ea-04eb-4659-9b62-e123a0cb745a"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.