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.
HTTP status code of the response for reference purposes.
200
200
Indicates whether the request was successful (normally true
if it's
not an error response).
true
URL of the current request / resource, for reference purposes.
https://example.apps.journyx.com/api/v1/users
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.
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.
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.
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.
Indicates whether the user can approve Time Entry Sheets.
Indicates whether the user can approve Expense Entry Sheets.
Indicates whether the user can approve Custom Entry (type: mileage
) Sheets.
Indicates whether the user can approve Project Approval tracks.
{
"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
}
}