Skip to main content

MyApprovalTypesResponse

The response to a request for the current user's approval sheet types. Check the results object for the types of sheets that the user can approve.

response_codeinteger

HTTP status code of the response for reference purposes.

Default value: 200
Example: 200
successboolean

Indicates whether the request was successful (normally true if it's not an error response).

Default value: true
uristring

URL of the current request / resource, for reference purposes.

Example: https://example.apps.journyx.com/api/v1/users
statusstring[]

An array of status (confirmation) messages that occurred during the request. This field may be empty.

In the UI, these are sometimes displayed with a green icon.

errorsstring[]

An array of error messages that occurred during the request. This field may be empty.

In the UI, these are sometimes displayed with a red error icon.

warningsstring[]

An array of warning messages that occurred during the request. This field may be empty.

In the UI, these are sometimes displayed with a yellow warning icon.

infostring[]

An array of informational messages that occurred during the request. This field may be empty.

In the UI, these are sometimes displayed with a blue info icon.

results object

The list of sheet types that the user can approve.

timeboolean

Indicates whether the user can approve Time Entry Sheets.

expenseboolean

Indicates whether the user can approve Expense Entry Sheets.

customboolean

Indicates whether the user can approve Custom Entry (type: mileage) Sheets.

projectboolean

Indicates whether the user can approve Project Approval tracks.

MyApprovalTypesResponse
{
"response_code": 200,
"success": true,
"uri": "https://example.apps.journyx.com/api/v1/users",
"status": [
"string"
],
"errors": [
"string"
],
"warnings": [
"string"
],
"info": [
"string"
],
"results": {
"time": true,
"expense": true,
"custom": true,
"project": true
}
}