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": "52821ade-dca2-4d20-8998-b6ebd449b522",
"allocatedToId": "82dfc718-b44d-46a1-93e8-48cfdcb03668",
"contactId": "57ec4d2a-fe5c-4e24-8ce3-dc600b120683",
"siteId": "6905f040-523a-4c81-83ab-821e507203ba",
"destinationStateId": "f778490e-1b4c-46b6-8fa9-c07fffbd9c6d",
"jobTypeId": "8bb0cd96-e3c2-4c8a-9956-9da5cbddebf7",
"name": "sample string 3",
"scheduledDate": "2026-04-15T00:20:12.868092Z",
"createdDate": "2026-04-15T00:20:12.868092Z",
"updatedDate": "2026-04-15T00:20:12.868092Z",
"timeInMinutes": 7,
"notes": "sample string 8",
"externalRef": "sample string 9",
"parentJobId": "039b382e-a3b9-4109-8490-982c6a0e4bd1",
"jobCategoryId": "7cb005d0-7280-4836-831b-1ef9e4d0925f",
"isGroupJob": true,
"assetId": "f57e3c08-5cb4-4e68-83a5-ea02d7103d4b",
"stateId": "6dbeaa43-d582-495e-adbc-3d052ecd9458"
}
text/html
Sample:
{"id":"52821ade-dca2-4d20-8998-b6ebd449b522","allocatedToId":"82dfc718-b44d-46a1-93e8-48cfdcb03668","contactId":"57ec4d2a-fe5c-4e24-8ce3-dc600b120683","siteId":"6905f040-523a-4c81-83ab-821e507203ba","destinationStateId":"f778490e-1b4c-46b6-8fa9-c07fffbd9c6d","jobTypeId":"8bb0cd96-e3c2-4c8a-9956-9da5cbddebf7","name":"sample string 3","scheduledDate":"2026-04-15T00:20:12.868092Z","createdDate":"2026-04-15T00:20:12.868092Z","updatedDate":"2026-04-15T00:20:12.868092Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"039b382e-a3b9-4109-8490-982c6a0e4bd1","jobCategoryId":"7cb005d0-7280-4836-831b-1ef9e4d0925f","isGroupJob":true,"assetId":"f57e3c08-5cb4-4e68-83a5-ea02d7103d4b","stateId":"6dbeaa43-d582-495e-adbc-3d052ecd9458"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.