Dispatch job descriptors
Dispatch job descriptors: 5 operations, tagged dispatch-job-descriptors in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/dispatch-job-descriptors |
List dispatch job descriptors |
POST |
/api/dispatch-job-descriptors |
Create a dispatch job descriptor |
GET |
/api/dispatch-job-descriptors/{id} |
Get a dispatch job descriptor by id |
PUT |
/api/dispatch-job-descriptors/{id} |
Update a dispatch job descriptor |
DELETE |
/api/dispatch-job-descriptors/{id} |
Delete a dispatch job descriptor |
Operations
Section titled “Operations”GET /api/dispatch-job-descriptors
Section titled “GET /api/dispatch-job-descriptors”List dispatch job descriptors
Operation ID: listDispatchJobDescriptors
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
application |
query | string | no | Filter by application code |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json DispatchJobDescriptorListResponse |
default |
Error | application/json ErrorModel |
POST /api/dispatch-job-descriptors
Section titled “POST /api/dispatch-job-descriptors”Create a dispatch job descriptor
Operation ID: createDispatchJobDescriptor
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateDispatchJobDescriptorRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json CreatedResponse |
default |
Error | application/json ErrorModel |
GET /api/dispatch-job-descriptors/{id}
Section titled “GET /api/dispatch-job-descriptors/{id}”Get a dispatch job descriptor by id
Operation ID: getDispatchJobDescriptor
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json DispatchJobDescriptorResponse |
default |
Error | application/json ErrorModel |
PUT /api/dispatch-job-descriptors/{id}
Section titled “PUT /api/dispatch-job-descriptors/{id}”Update a dispatch job descriptor
Operation ID: updateDispatchJobDescriptor
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
UpdateDispatchJobDescriptorRequest |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
DELETE /api/dispatch-job-descriptors/{id}
Section titled “DELETE /api/dispatch-job-descriptors/{id}”Delete a dispatch job descriptor
Operation ID: deleteDispatchJobDescriptor
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”CreateDispatchJobDescriptorRequest
Section titled “CreateDispatchJobDescriptorRequest”| Field | Type | Required | Description |
|---|---|---|---|
code |
string | yes | Dispatch job code: application:subdomain:aggregate:action Max length 200. |
description |
string | no | |
name |
string | yes | What a job of this code is, in words Max length 255. |
CreatedResponse
Section titled “CreatedResponse”| Field | Type | Required | Description |
|---|---|---|---|
id |
string | yes |
DispatchJobDescriptorListResponse
Section titled “DispatchJobDescriptorListResponse”| Field | Type | Required | Description |
|---|---|---|---|
items |
DispatchJobDescriptorResponse[] |
yes | |
total |
integer (int64) | yes |
DispatchJobDescriptorResponse
Section titled “DispatchJobDescriptorResponse”| Field | Type | Required | Description |
|---|---|---|---|
applicationCode |
string | yes | |
code |
string | yes | |
createdAt |
string (date-time) | yes | |
description |
string | no | |
id |
string | yes | |
name |
string | yes | |
updatedAt |
string (date-time) | yes |
UpdateDispatchJobDescriptorRequest
Section titled “UpdateDispatchJobDescriptorRequest”| Field | Type | Required | Description |
|---|---|---|---|
description |
string | no | Omitted leaves it; blank clears it. |
name |
string | no | Max length 255. |