POST api/jobs/multijob
Request Information
URI Parameters
None.
Body Parameters
API.Infrastructure.Dto.Jobs.MultiJobDtoName | Description | Type | Additional information |
---|---|---|---|
Organisations | Collection of globally unique identifier |
Required |
|
Tags | Collection of string |
None. |
|
JobAllocation | API.Infrastructure.Dto.Jobs.Allocation |
Required |
|
ContactAllocation | API.Infrastructure.Dto.Jobs.Allocation |
Required |
|
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:
{ "organisations": [ "18c098f2-ee45-49aa-a38f-4739bdc2c03d", "6bcb7dee-7f90-4335-bea5-e9f77b7fbccc" ], "tags": [ "sample string 1", "sample string 2" ], "jobAllocation": { "selectedId": "d613da0f-4d30-4467-91cd-f1a85693b378", "selectionType": "selected" }, "contactAllocation": { "selectedId": "d613da0f-4d30-4467-91cd-f1a85693b378", "selectionType": "selected" }, "jobTypeId": "a03564fa-91ea-4cb7-9501-e14da8b36adf", "name": "sample string 2", "scheduledDate": "2025-06-21T16:05:25.5324326Z", "createdDate": "2025-06-21T16:05:25.5324326Z", "updatedDate": "2025-06-21T16:05:25.5324326Z", "timeInMinutes": 6, "notes": "sample string 7", "externalRef": "sample string 8", "parentJobId": "8a6384dd-02e3-445c-b015-d0d1d68927d3", "isGroupJob": true, "assetId": "9f321951-fcd8-4205-9e5d-165de3f9e969", "stateId": "a76c45c5-eed0-4b07-8776-24e9f6843f8f" }
text/html
Sample:
{"organisations":["18c098f2-ee45-49aa-a38f-4739bdc2c03d","6bcb7dee-7f90-4335-bea5-e9f77b7fbccc"],"tags":["sample string 1","sample string 2"],"jobAllocation":{"selectedId":"d613da0f-4d30-4467-91cd-f1a85693b378","selectionType":"selected"},"contactAllocation":{"selectedId":"d613da0f-4d30-4467-91cd-f1a85693b378","selectionType":"selected"},"jobTypeId":"a03564fa-91ea-4cb7-9501-e14da8b36adf","name":"sample string 2","scheduledDate":"2025-06-21T16:05:25.5324326Z","createdDate":"2025-06-21T16:05:25.5324326Z","updatedDate":"2025-06-21T16:05:25.5324326Z","timeInMinutes":6,"notes":"sample string 7","externalRef":"sample string 8","parentJobId":"8a6384dd-02e3-445c-b015-d0d1d68927d3","isGroupJob":true,"assetId":"9f321951-fcd8-4205-9e5d-165de3f9e969","stateId":"a76c45c5-eed0-4b07-8776-24e9f6843f8f"}
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json, text/html
Sample:
Sample not available.