PUT api/jobs/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "e33e05d6-2e77-4d2e-ac94-f7d87d72f0b8",
"allocatedToId": "ca5aee77-bb47-4069-9dbf-e9f55070dc2b",
"contactId": "77523b42-d268-41b3-8ae0-739909133e35",
"siteId": "ccba5be2-5dd2-4eaa-8fcb-f07290f5ffac",
"destinationStateId": "956de797-a5b5-41ca-a81a-667a9efd1fda",
"jobTypeId": "0ba3a0c9-94fa-4d73-84f5-ff5a9b2582c7",
"name": "sample string 3",
"scheduledDate": "2026-06-02T00:33:11.1959297Z",
"createdDate": "2026-06-02T00:33:11.1959297Z",
"updatedDate": "2026-06-02T00:33:11.1959297Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "e2239f9a-9c22-4f2b-a98a-9b5d72808b44",
"jobCategoryId": "aebec9e3-ae40-4af8-b3e0-8e425814ffc1",
"isGroupJob": true,
"assetId": "c940c8f7-fd1f-41b0-a805-86f8d3a03776",
"stateId": "774f44dc-b488-45d6-a408-2d8ded041063"
}
text/html
Sample:
{"id":"e33e05d6-2e77-4d2e-ac94-f7d87d72f0b8","allocatedToId":"ca5aee77-bb47-4069-9dbf-e9f55070dc2b","contactId":"77523b42-d268-41b3-8ae0-739909133e35","siteId":"ccba5be2-5dd2-4eaa-8fcb-f07290f5ffac","destinationStateId":"956de797-a5b5-41ca-a81a-667a9efd1fda","jobTypeId":"0ba3a0c9-94fa-4d73-84f5-ff5a9b2582c7","name":"sample string 3","scheduledDate":"2026-06-02T00:33:11.1959297Z","createdDate":"2026-06-02T00:33:11.1959297Z","updatedDate":"2026-06-02T00:33:11.1959297Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"e2239f9a-9c22-4f2b-a98a-9b5d72808b44","jobCategoryId":"aebec9e3-ae40-4af8-b3e0-8e425814ffc1","isGroupJob":true,"assetId":"c940c8f7-fd1f-41b0-a805-86f8d3a03776","stateId":"774f44dc-b488-45d6-a408-2d8ded041063"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.