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

FieldTypeDescription
dateoptionalDate

Date when you want to make the registration. Default is TODAY.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    registrationTypesObject[]

Collection of registration types.

      descriptionString

The registration description.

      orderNumber

Order of registration. USE this to sort the collection.

      typeString

The registration type.

  messageoptionalObject

Object containing response messages.

    codeNumber

Message code.

    textString

Message text.

    typeString

Type of message.

Allowed values:"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": ""
}
}