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": "6bf15d4d-f461-4591-aa6c-ed4cdc6fcdc9",
"allocatedToId": "528a5bf9-8163-44c6-8c05-73f91a883b94",
"contactId": "40d08142-49db-4415-b52d-41c496bfa528",
"siteId": "98835202-d192-41c5-9fa0-1a1017f4c9bc",
"destinationStateId": "d278f82b-480e-4668-85d1-1231b4085299",
"jobTypeId": "8f6bddec-8e8b-4acf-b03a-7dcf03e5c248",
"name": "sample string 3",
"scheduledDate": "2026-01-09T19:20:20.5688191Z",
"createdDate": "2026-01-09T19:20:20.5688191Z",
"updatedDate": "2026-01-09T19:20:20.5688191Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "2caca939-fadb-4e71-b5e7-9cf463817f10",
"jobCategoryId": "09444481-71e6-4afa-89d9-210c78c3bd4d",
"isGroupJob": true,
"assetId": "87bffec6-a260-4912-95a2-d737c14b6c70",
"stateId": "a1e55c2d-c123-4ad2-a252-66538c2d80e8"
}
text/html
Sample:
{"id":"6bf15d4d-f461-4591-aa6c-ed4cdc6fcdc9","allocatedToId":"528a5bf9-8163-44c6-8c05-73f91a883b94","contactId":"40d08142-49db-4415-b52d-41c496bfa528","siteId":"98835202-d192-41c5-9fa0-1a1017f4c9bc","destinationStateId":"d278f82b-480e-4668-85d1-1231b4085299","jobTypeId":"8f6bddec-8e8b-4acf-b03a-7dcf03e5c248","name":"sample string 3","scheduledDate":"2026-01-09T19:20:20.5688191Z","createdDate":"2026-01-09T19:20:20.5688191Z","updatedDate":"2026-01-09T19:20:20.5688191Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"2caca939-fadb-4e71-b5e7-9cf463817f10","jobCategoryId":"09444481-71e6-4afa-89d9-210c78c3bd4d","isGroupJob":true,"assetId":"87bffec6-a260-4912-95a2-d737c14b6c70","stateId":"a1e55c2d-c123-4ad2-a252-66538c2d80e8"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.