GET http://api.servicem8.com/api_1.0/Company.json
Status: 200
[[{"uuid":"...",
"name":"...",
"website":"...",
"abn_number":"...",
"active":"...",
"is_individual":"...",
"address_street":"...",
"address_city":"...",
"address_state":"...",
"address_postcode":"...",
"address_country":"...",
"fax_number":"...",
"address":"...",
"billing_address":"...",
"badges":"...",
"tax_rate_uuid":"..."},
{"uuid":"...",
"name":"...",
"website":"...",
"abn_number":"...",
"active":"...",
"is_individual":"...",
"address_street":"...",
"address_city":"...",
"address_state":"...",
"address_postcode":"...",
"address_country":"...",
"fax_number":"...",
"address":"...",
"billing_address":"...",
"badges":"...",
"tax_rate_uuid":"..."}]]
GET http://api.servicem8.com/api_1.0/Company/{UUID}.json
Returns a single Client.
Status: 200
[{"uuid":"...",
"name":"...",
"website":"...",
"abn_number":"...",
"active":"...",
"is_individual":"...",
"address_street":"...",
"address_city":"...",
"address_state":"...",
"address_postcode":"...",
"address_country":"...",
"fax_number":"...",
"address":"...",
"billing_address":"...",
"badges":"...",
"tax_rate_uuid":"..."}]
POST http://api.servicem8.com/api_1.0/Company.json
Creates a new Client.
{"name":"New Data Here"}
Status: 200
POST http://api.servicem8.com/api_1.0/Company/{UUID}.json
Updates an existing Client with new details from the submitted JSON.
{"name":"Updated Data Here"}
Status: 200
DELETE http://api.servicem8.com/api_1.0/Company/{UUID}.json
Deactivate the Company at the referenced URL.
Status: 200