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": "ef0fa111-4755-4fe3-ac56-bbb594c3be5a",
"allocatedToId": "8f84dac4-cdb9-41b8-b8e6-d6dc78eae3ea",
"contactId": "342b5e2b-4644-4d47-b145-40b45d8fa799",
"siteId": "0883a551-9bcc-46b6-ac81-d0c4b1e24d7a",
"destinationStateId": "9af9a6b9-5bcf-42a4-b307-50c4aa0ad5ab",
"jobTypeId": "dbd3d95c-bf66-4382-99da-d233ddf30973",
"name": "sample string 3",
"scheduledDate": "2026-06-02T00:32:22.0218454Z",
"createdDate": "2026-06-02T00:32:22.0218454Z",
"updatedDate": "2026-06-02T00:32:22.0218454Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "5f7b25dd-010c-4029-80da-0a0b0e39547e",
"jobCategoryId": "b0e79c42-9964-4b51-9537-eb6bac6ec168",
"isGroupJob": true,
"assetId": "d864768d-1431-4c09-bce1-177847f17290",
"stateId": "986475fc-60c1-4e6b-bcc1-bbd89d90e932"
}
text/html
Sample:
{"id":"ef0fa111-4755-4fe3-ac56-bbb594c3be5a","allocatedToId":"8f84dac4-cdb9-41b8-b8e6-d6dc78eae3ea","contactId":"342b5e2b-4644-4d47-b145-40b45d8fa799","siteId":"0883a551-9bcc-46b6-ac81-d0c4b1e24d7a","destinationStateId":"9af9a6b9-5bcf-42a4-b307-50c4aa0ad5ab","jobTypeId":"dbd3d95c-bf66-4382-99da-d233ddf30973","name":"sample string 3","scheduledDate":"2026-06-02T00:32:22.0218454Z","createdDate":"2026-06-02T00:32:22.0218454Z","updatedDate":"2026-06-02T00:32:22.0218454Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"5f7b25dd-010c-4029-80da-0a0b0e39547e","jobCategoryId":"b0e79c42-9964-4b51-9537-eb6bac6ec168","isGroupJob":true,"assetId":"d864768d-1431-4c09-bce1-177847f17290","stateId":"986475fc-60c1-4e6b-bcc1-bbd89d90e932"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.