Clients
Copy client
This method requires the Clients:Create permission to be associated with your role.
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(Optional) User Id to use for audit purposes. This header requires the Audit:UserIdOverride permission to be associated with your role.
Maximum string length:
5Pattern:
^[1-9]{1}[0-9]*$Client will be processed 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:
100Pattern:
^[a-zA-Z0-9\/\:\+\-\_]+$Body
application/x-www-form-urlencoded
Response
application/json
Success
Available options:
weekly, fortnightly, monthly, bi-annually, annually, periodAvailable options:
monday, tuesday, wednesday, thursday, friday, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, eomAvailable options:
full-fbt-payable, concessional-30000-exempt, concessional-17000-exempt, rebatable, not-applicableAvailable options:
January, February, March, April, May, June, July, August, September, October, November, DecemberAvailable options:
fbt_type1_gross_up_factor, fbt_type2_gross_up_factorAvailable options:
detail-only, summary-only, summary-and-detailAvailable options:
not-applicable, driver, client-contact-1, client-contact-2, account-payable, account-managerAvailable options:
not-applicable, driver, client-contact-1, client-contact-2, account-payable, account-managerAvailable options:
yes, no