PUT api/jobs/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | globally unique identifier |
Required |
Body Parameters
API.Infrastructure.Dto.Jobs.JobDtoName | 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. |
|
IsGroupJob | boolean |
None. |
|
AssetId | globally unique identifier |
None. |
|
StateId | globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "ac57424f-c7d6-4d22-9c6c-667df7f01d54", "allocatedToId": "cf7a118b-f59d-44c8-bd50-6073373277f2", "contactId": "e43f3742-c402-422d-aa28-a2f5f874dab9", "siteId": "efb517b0-cc63-4301-b9f3-c11364ba9f53", "destinationStateId": "189448ec-49dd-4cd2-98b0-3db2537d85b5", "jobTypeId": "2084c6af-98ee-47e1-83a5-82029eca59e9", "name": "sample string 3", "scheduledDate": "2025-06-20T10:19:21.2750745Z", "createdDate": "2025-06-20T10:19:21.2750745Z", "updatedDate": "2025-06-20T10:19:21.2750745Z", "timeInMinutes": 7, "notes": "sample string 8", "externalRef": "sample string 9", "parentJobId": "0cd13ebe-f485-4e1d-aa90-ad47e4b819f9", "isGroupJob": true, "assetId": "7f5b090b-6d6e-498e-bcd5-42cd783d9ef9", "stateId": "a8470c3c-f9da-4abb-9cdd-ed7fe7d1cd2b" }
text/html
Sample:
{"id":"ac57424f-c7d6-4d22-9c6c-667df7f01d54","allocatedToId":"cf7a118b-f59d-44c8-bd50-6073373277f2","contactId":"e43f3742-c402-422d-aa28-a2f5f874dab9","siteId":"efb517b0-cc63-4301-b9f3-c11364ba9f53","destinationStateId":"189448ec-49dd-4cd2-98b0-3db2537d85b5","jobTypeId":"2084c6af-98ee-47e1-83a5-82029eca59e9","name":"sample string 3","scheduledDate":"2025-06-20T10:19:21.2750745Z","createdDate":"2025-06-20T10:19:21.2750745Z","updatedDate":"2025-06-20T10:19:21.2750745Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"0cd13ebe-f485-4e1d-aa90-ad47e4b819f9","isGroupJob":true,"assetId":"7f5b090b-6d6e-498e-bcd5-42cd783d9ef9","stateId":"a8470c3c-f9da-4abb-9cdd-ed7fe7d1cd2b"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.