ProJect - Get sign-off status

API Url

Used for loading project sign-off status for one employee at a given date.

GET
http://localhost:16010/ProMarkREST/rest/ProJect/employees/{id}/sign-off

Permissions: user

Path parameters

FieldTypeDescription
idString

Employee id.

Query parameters

FieldTypeDescription
dateoptionalString

Date for which status is requested. Default is TODAY.

Parameter

FieldTypeDescription
requestObject

Main object containing the request data.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    signOffObject

The Signoff data.

      lastSignOffDayDate

Date when last sign-off was performed.

      statusBoolean

TRUE = The day is signed-off.

  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
{
"response": {
"data": {
"signOff": {
"status": false,
"lastSignOffDay": "2020-02-25"
}
}
}
}