ProcessOrder.GetJobTypes
Returns the tenant's valid process job type codes and titles. Use these codes for jobTypeCode on ProcessOrder.Create. Create rejects codes that are not in this list.
Endpoint
- Method:
GET - Route:
ProcessOrder/GetJobTypes - Authentication:
Authorize
Request Schema
Headers
| Header | Required | Notes |
|---|---|---|
X-Api-Key |
Required when tenant is not resolved by subdomain | Resolves the tenant/customer database. |
Authorization: Bearer {token} |
Required for authorized endpoints | Get a token from Auth/Token or Session/Create. |
This endpoint does not accept a JSON request body.
Expected Response Schema
Status Codes
| Status | Notes |
|---|---|
200 OK |
Returned by the controller for this operation. |
Success Body
Response type: IReadOnlyList<CodeAndTitleDto>
| Field | Type | Max Length | Notes |
|---|---|---|---|
code |
string |
Integer job type code as a string. Send the numeric value as jobTypeCode on create. |
|
title |
string |
Display title from the tenant MessengerJobType table. |
Only rows with WebsiteJobCategoryCode = PROCESS and process job-type category options are returned.
Response Sample
[
{
"code": "41",
"title": "030 - STANDARD PROCESS (48 to 72 HRS)"
},
{
"code": "12",
"title": "UD - NOTICE TO QUIT"
}
]