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": "35d4de4e-b3b8-4ddc-bb16-6563afe1bd33",
"allocatedToId": "cd673e81-97bd-4088-bdaa-ce569cc88426",
"contactId": "9714247b-98fc-4f37-8bd4-4a7ced4c5efe",
"siteId": "c0176d6e-33d4-43e9-8b96-f2dada6c7b9f",
"destinationStateId": "06a10f7f-9e6b-4567-ad1e-4b360b7adc48",
"jobTypeId": "2a02a5c7-d0ac-43f0-b01b-6400396756ae",
"name": "sample string 3",
"scheduledDate": "2026-10-23T02:54:37.7869302Z",
"createdDate": "2026-10-23T02:54:37.7869302Z",
"updatedDate": "2026-10-23T02:54:37.7869302Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "b253ebb5-1f62-4366-a4e7-7f7d679a0b8f",
"jobCategoryId": "4fa14b1c-d0d5-431c-9e6d-7339a27f188b",
"isGroupJob": true,
"assetId": "24d0e4bc-7644-4660-8c56-809aedd17859",
"stateId": "bcda986f-722a-4df1-abb4-8aac76bbea35"
}
text/html
Sample:
{"id":"35d4de4e-b3b8-4ddc-bb16-6563afe1bd33","allocatedToId":"cd673e81-97bd-4088-bdaa-ce569cc88426","contactId":"9714247b-98fc-4f37-8bd4-4a7ced4c5efe","siteId":"c0176d6e-33d4-43e9-8b96-f2dada6c7b9f","destinationStateId":"06a10f7f-9e6b-4567-ad1e-4b360b7adc48","jobTypeId":"2a02a5c7-d0ac-43f0-b01b-6400396756ae","name":"sample string 3","scheduledDate":"2026-10-23T02:54:37.7869302Z","createdDate":"2026-10-23T02:54:37.7869302Z","updatedDate":"2026-10-23T02:54:37.7869302Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"b253ebb5-1f62-4366-a4e7-7f7d679a0b8f","jobCategoryId":"4fa14b1c-d0d5-431c-9e6d-7339a27f188b","isGroupJob":true,"assetId":"24d0e4bc-7644-4660-8c56-809aedd17859","stateId":"bcda986f-722a-4df1-abb4-8aac76bbea35"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.