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": "bc92f9a1-326f-4f76-86f0-cac95c40f56c",
"allocatedToId": "6b5fae3d-2282-4d0f-bc54-de00fb48e0f3",
"contactId": "4ca2644a-801d-4999-9a24-3c210f6970df",
"siteId": "fdea7368-11a6-47cf-92e6-990b5d8112e7",
"destinationStateId": "79257a4b-4a3d-4636-8b0d-ca1211b44d18",
"jobTypeId": "da2c8e1b-4154-43e5-9713-80a890fd0521",
"name": "sample string 3",
"scheduledDate": "2026-04-15T00:16:39.9462537Z",
"createdDate": "2026-04-15T00:16:39.9462537Z",
"updatedDate": "2026-04-15T00:16:39.9462537Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "00f3778d-5166-458b-ac90-7a30af83b38c",
"jobCategoryId": "6b73b0d1-21c9-4050-b6a9-77cbf8aaca24",
"isGroupJob": true,
"assetId": "f79e4698-c817-462f-96d8-bebb5d0eaa72",
"stateId": "260d02c8-b66a-4e73-bc06-39f93fe04b5e"
}
text/html
Sample:
{"id":"bc92f9a1-326f-4f76-86f0-cac95c40f56c","allocatedToId":"6b5fae3d-2282-4d0f-bc54-de00fb48e0f3","contactId":"4ca2644a-801d-4999-9a24-3c210f6970df","siteId":"fdea7368-11a6-47cf-92e6-990b5d8112e7","destinationStateId":"79257a4b-4a3d-4636-8b0d-ca1211b44d18","jobTypeId":"da2c8e1b-4154-43e5-9713-80a890fd0521","name":"sample string 3","scheduledDate":"2026-04-15T00:16:39.9462537Z","createdDate":"2026-04-15T00:16:39.9462537Z","updatedDate":"2026-04-15T00:16:39.9462537Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"00f3778d-5166-458b-ac90-7a30af83b38c","jobCategoryId":"6b73b0d1-21c9-4050-b6a9-77cbf8aaca24","isGroupJob":true,"assetId":"f79e4698-c817-462f-96d8-bebb5d0eaa72","stateId":"260d02c8-b66a-4e73-bc06-39f93fe04b5e"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.