Statistics
Obtain statistics about everything
get/apps/{appId}/statistics/charts/{type}
Path parameters
appIdinteger required
The identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have several Sinao applications. To retrieve the identifiers of its applications, you must call the endpoint /apps.
typestring required
Query parameters
countinteger
period'hourly' | 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly'
start_atstring date-time
object'invoice' | 'quote' | 'purchase' | 'transaction' | 'payment' | 'relationship'
object_propertystring
calcul'sum' | 'avg' | 'count'
Array of [object_property, calcul]
object_date_propertystring
group_bystring[]
group_by_object_namestring
exclude_keysinteger[]
searchstring
filtersobject
show_detailsboolean
Recovers the details of the calculations
Response
Success
object[] required