ProJob - Get registration types
API Url
Get allowed registration types for changing an order/operation.
GET
http://localhost:16010/ProMarkREST/rest/ProJob/registration-types
Permissions: user
Query parameters
| Field | Type | Description |
|---|---|---|
dateoptional | Date | Date when you want to make the registration. Default is TODAY. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| registrationTypes | Object[] | Collection of registration types. |
| description | String | The registration description. |
| order | Number | Order of registration. USE this to sort the collection. |
| type | String | The registration type. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Success example
HTTP/1.1 200 OK{"response": {"data": {"registrationTypes": [{"order": 1,"type": "OC","description": "Change condition"},{"order": 2,"type": "OI","description": "Job in"},{"order": 3,"type": "OO","description": "Job out"}]},"errorCode": 0,"errorMessage": ""}}