General - Post recent values
API Url
Use it for creating a list of recently used values of an employee.
POST
http://localhost:16010/ProMarkREST/rest/General/employees/{id}/recent
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| id | String | Employee Id. |
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data. |
| recents | Object[] | List of recent values. |
| field | String | Field name. |
| value | String | Field value. |
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": {"errorCode": 0,"errorMessage": ""}}
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |