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": "310e9587-87a2-46b7-8d12-61912160267f",
"allocatedToId": "1b92351b-cf54-4da3-801b-d44ae749dee2",
"contactId": "9403ca4f-da77-4630-9cf8-db8e5e81a4ac",
"siteId": "b5f48819-5bd0-44ed-80d0-907eddfc5394",
"destinationStateId": "c883adc1-e366-45fc-b4a2-47ccbd041543",
"jobTypeId": "0a585865-f0ea-4fd4-b8a8-4778c2b29fbc",
"name": "sample string 3",
"scheduledDate": "2026-10-22T18:12:22.5848902Z",
"createdDate": "2026-10-22T18:12:22.5848902Z",
"updatedDate": "2026-10-22T18:12:22.5848902Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "6022e0ea-b6a7-4368-ba9e-d47cc0e0d360",
"jobCategoryId": "a457add5-1449-4e89-b58d-042346edead8",
"isGroupJob": true,
"assetId": "c552364d-49e7-4465-be73-8b9e85dcb6a4",
"stateId": "9b6d099b-85f2-4a89-9077-922ca36752da"
}
text/html
Sample:
{"id":"310e9587-87a2-46b7-8d12-61912160267f","allocatedToId":"1b92351b-cf54-4da3-801b-d44ae749dee2","contactId":"9403ca4f-da77-4630-9cf8-db8e5e81a4ac","siteId":"b5f48819-5bd0-44ed-80d0-907eddfc5394","destinationStateId":"c883adc1-e366-45fc-b4a2-47ccbd041543","jobTypeId":"0a585865-f0ea-4fd4-b8a8-4778c2b29fbc","name":"sample string 3","scheduledDate":"2026-10-22T18:12:22.5848902Z","createdDate":"2026-10-22T18:12:22.5848902Z","updatedDate":"2026-10-22T18:12:22.5848902Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"6022e0ea-b6a7-4368-ba9e-d47cc0e0d360","jobCategoryId":"a457add5-1449-4e89-b58d-042346edead8","isGroupJob":true,"assetId":"c552364d-49e7-4465-be73-8b9e85dcb6a4","stateId":"9b6d099b-85f2-4a89-9077-922ca36752da"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.