POST api/jobs
Request Information
URI Parameters
None.
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": "9116fa99-2ba6-424b-ad16-c378b058e9b6", "allocatedToId": "39bb83d0-85e7-42bc-81fd-c7313c735913", "contactId": "1c14cabe-4511-45d1-ad9d-28d6ae10a32e", "siteId": "56fb511b-a749-4031-83e7-f0d1aaba29cf", "destinationStateId": "a63d4279-4a24-4d1f-b936-94a2396da17b", "jobTypeId": "6774b1b5-8621-4cbb-964e-7088db48700a", "name": "sample string 3", "scheduledDate": "2025-06-21T14:56:47.2459634Z", "createdDate": "2025-06-21T14:56:47.2459634Z", "updatedDate": "2025-06-21T14:56:47.2459634Z", "timeInMinutes": 7, "notes": "sample string 8", "externalRef": "sample string 9", "parentJobId": "556df7be-23ff-468a-8a15-a733c3c38ca8", "isGroupJob": true, "assetId": "e3d602ba-5f9c-4877-99d6-ec3ef9ed86d3", "stateId": "aca37b2e-3afc-4dd2-89ac-7718d79dd0ed" }
text/html
Sample:
{"id":"9116fa99-2ba6-424b-ad16-c378b058e9b6","allocatedToId":"39bb83d0-85e7-42bc-81fd-c7313c735913","contactId":"1c14cabe-4511-45d1-ad9d-28d6ae10a32e","siteId":"56fb511b-a749-4031-83e7-f0d1aaba29cf","destinationStateId":"a63d4279-4a24-4d1f-b936-94a2396da17b","jobTypeId":"6774b1b5-8621-4cbb-964e-7088db48700a","name":"sample string 3","scheduledDate":"2025-06-21T14:56:47.2459634Z","createdDate":"2025-06-21T14:56:47.2459634Z","updatedDate":"2025-06-21T14:56:47.2459634Z","timeInMinutes":7,"notes":"sample string 8","externalRef":"sample string 9","parentJobId":"556df7be-23ff-468a-8a15-a733c3c38ca8","isGroupJob":true,"assetId":"e3d602ba-5f9c-4877-99d6-ec3ef9ed86d3","stateId":"aca37b2e-3afc-4dd2-89ac-7718d79dd0ed"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.