HQ APIReports
Get commissions report
GET
/v1/hq/companies/{company_id}/reports/commissionsAuthorizationBearer <token>
The Noona HQ API uses Bearer token for authentication.
Endpoints that return generic information that does not contain sensitive data do not require authentication. Endpoints that require authentication are specifically marked in the documentation.
Authorization: Bearer your-token
In: header
Path Parameters
company_id*string
Query Parameters
filter*
Header Parameters
X-Noona-Locked-Section-Token?string
Short-lived access token returned by the locked-section unlock endpoint
Response Body
application/json
application/json
curl -X GET "https://api.noona.is/v1/hq/companies/string/reports/commissions?from=2019-08-24T14%3A15%3A22Z&to=2019-08-24T14%3A15%3A22Z"[
{
"employee_id": "string",
"employee_name": "string",
"service_rate": 0.1,
"service_commission": 0.1,
"product_rate": 0.1,
"product_commission": 0.1,
"voucher_rate": 0.1,
"voucher_commission": 0.1,
"booking_rate": 0.1,
"booking_commission": 0.1,
"total_commission": 0.1
}
]Empty
Empty
Empty
Empty
{
"message": "Customer onboarding error."
}Empty