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

FieldTypeDescription
idString

Employee Id.

Success 200

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data.

    recentsObject[]

List of recent values.

      fieldString

Field name.

      valueString

Field value.

  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": {
"errorCode": 0,
"errorMessage": ""
}
}

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.