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
| Field | Type | Description |
|---|---|---|
| id | String | Employee id. |
Query parameters
| Field | Type | Description |
|---|---|---|
dateoptional | String | Date for which status is requested. Default is TODAY. |
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| signOff | Object | The Signoff data. |
| lastSignOffDay | Date | Date when last sign-off was performed. |
| status | Boolean | TRUE = The day is signed-off. |
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{"response": {"data": {"signOff": {"status": false,"lastSignOffDay": "2020-02-25"}}}}