Skip to main content
Approvals

Get an approval

This method requires the Approvals:Get permission to be associated with your role.

GET
/fm/approvals/{approval_id}
Authorizationstringheaderrequired

For accessing the API a valid token must be passed in all the queries in the 'Authorization' header.

A valid token is generated by the API and returned by the /authenticate method by supplying a valid username and password.

The following syntax must be used in the 'Authorization' header :

Bearer aaaaaa/bbbbbb.ccccccc.dddddd
approval_idstringrequired

Approval Id

Maximum string length: 10
Pattern: ^[1-9]{1}[0-9]{0,9}$
Time-Zonestringheaderdefault:UTC

Approvals will be shown in the specified timezone.

The timezone value can be given in several formats, none of which are case sensitive:

  • As a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'.
  • As a string indicating an offset from UTC of the form [H]H:MM, prefixed with a + or -, such as '+10:00', '-6:00', or '+05:30'. A leading zero can optionally be used for hours values less than 10;
Maximum string length: 100
Pattern: ^[a-zA-Z0-9\/\:\+\-\_]+$

Response

application/vnd.catch-e-api.v1+json

Success

approval_idstring
approval_limitnumberdefault:0
approval_sub_status_idstring
attachment_idstring
bank_details_correct_flagenum<string>default:no
Available options: yes, no
billing_periodintegerdefault:0
client_phonestring
contract_idstring
createdstring
credit_note_flagenum<string>default:no
Available options: yes, no
driver_aware_flagenum<string>default:no
Available options: yes, no
driver_bank_account_idstring
driver_namestring
driver_phonestring
external_order_numberstring
franchise_notesstring
invoice_datestring
invoice_nostring
last_editstring
maintenance_linesobject[]
misc_phonestring
notesstring
odometerinteger
odometer_datestring
odometer_valid_flagstring
payee_payment_method_idstring
posted_datestring
reimbursement_flagenum<string>default:no
Available options: yes, no
requested_audit_attempt_countinteger
sourceenum<string>default:internal
Available options: internal, 1link
status_flagstring
supplier_contactstring
supplier_franchise_vehicle_idstring
supplier_idstring
supplier_phonestring
user_idstring
user_id_editstring