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": "cd6a0cc1-ca6c-430a-89b7-99e10202a5bb",
"allocatedToId": "4eec588f-f32c-4169-a130-502fc23e34e9",
"contactId": "9ddbad24-59e9-4815-b686-e59749fc047e",
"siteId": "db35dbdf-d03f-4c3c-bf9d-c2fc0af9ae8f",
"destinationStateId": "8e8b2676-e096-4796-bbec-42a6b0c87c0d",
"jobTypeId": "4cb1db0b-40a0-4701-8c7a-9322626e6732",
"name": "sample string 3",
"scheduledDate": "2026-02-27T03:57:55.9485317Z",
"createdDate": "2026-02-27T03:57:55.9485317Z",
"updatedDate": "2026-02-27T03:57:55.9485317Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "965d6755-a229-446a-affc-5dcc6c69fc13",
"jobCategoryId": "73420026-93ba-4687-a871-c6509b77f035",
"isGroupJob": true,
"assetId": "6eb544ba-f7ce-4a49-9b1e-79de08f96921",
"stateId": "f512ca70-a832-4f02-a5bb-0ed9cf9e59df"
}
text/html
Sample:
{"id":"cd6a0cc1-ca6c-430a-89b7-99e10202a5bb","allocatedToId":"4eec588f-f32c-4169-a130-502fc23e34e9","contactId":"9ddbad24-59e9-4815-b686-e59749fc047e","siteId":"db35dbdf-d03f-4c3c-bf9d-c2fc0af9ae8f","destinationStateId":"8e8b2676-e096-4796-bbec-42a6b0c87c0d","jobTypeId":"4cb1db0b-40a0-4701-8c7a-9322626e6732","name":"sample string 3","scheduledDate":"2026-02-27T03:57:55.9485317Z","createdDate":"2026-02-27T03:57:55.9485317Z","updatedDate":"2026-02-27T03:57:55.9485317Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"965d6755-a229-446a-affc-5dcc6c69fc13","jobCategoryId":"73420026-93ba-4687-a871-c6509b77f035","isGroupJob":true,"assetId":"6eb544ba-f7ce-4a49-9b1e-79de08f96921","stateId":"f512ca70-a832-4f02-a5bb-0ed9cf9e59df"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.