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": "33bb6fa8-c58e-46d1-9d50-9acce11a9bc8",
"allocatedToId": "be98c422-8503-438d-ac15-e4e4794b8c78",
"contactId": "e76d6f74-a50c-4aca-abd5-47d26ab6fec1",
"siteId": "aa9ca429-9a37-4778-9043-9b8419eb98d8",
"destinationStateId": "31c40c5f-28f6-436d-ad90-8cf6c91a0b24",
"jobTypeId": "8c8b02ed-6b52-49aa-bf44-5e0fb3d3ca97",
"name": "sample string 3",
"scheduledDate": "2026-07-25T23:20:41.5510249Z",
"createdDate": "2026-07-25T23:20:41.5510249Z",
"updatedDate": "2026-07-25T23:20:41.5510249Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "14927032-5850-4144-a7bb-c4207ace685f",
"jobCategoryId": "eb1969ba-b4d2-404b-83e4-4f1e3d77e3e7",
"isGroupJob": true,
"assetId": "0144932b-1ff9-47ca-8193-20a9c2f0a98c",
"stateId": "0367e67b-1514-414c-b635-95c91ff6c1eb"
}
text/html
Sample:
{"id":"33bb6fa8-c58e-46d1-9d50-9acce11a9bc8","allocatedToId":"be98c422-8503-438d-ac15-e4e4794b8c78","contactId":"e76d6f74-a50c-4aca-abd5-47d26ab6fec1","siteId":"aa9ca429-9a37-4778-9043-9b8419eb98d8","destinationStateId":"31c40c5f-28f6-436d-ad90-8cf6c91a0b24","jobTypeId":"8c8b02ed-6b52-49aa-bf44-5e0fb3d3ca97","name":"sample string 3","scheduledDate":"2026-07-25T23:20:41.5510249Z","createdDate":"2026-07-25T23:20:41.5510249Z","updatedDate":"2026-07-25T23:20:41.5510249Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"14927032-5850-4144-a7bb-c4207ace685f","jobCategoryId":"eb1969ba-b4d2-404b-83e4-4f1e3d77e3e7","isGroupJob":true,"assetId":"0144932b-1ff9-47ca-8193-20a9c2f0a98c","stateId":"0367e67b-1514-414c-b635-95c91ff6c1eb"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.