GET /reports/revenue
Changed onAPI to retrieve formatted revenue report
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Query parameters
Unique business name identifier.
Name of accounting service provider, reuse currently available enum used in the feeder
The start date of the report frequency in the format: yyyy-MM-dd.
The end date of the report frequency in the format: yyyy-MM-dd.
The report snapshot frequency.
Response
Successfully returned revenue report
Example response
{
"meta": {
"reportId": [
"5fad8a342a88364234392fb5"
],
"serviceName": "xero",
"businessName": "Railz",
"endDate": "2020-12-25T01:02:03Z",
"startDate": "2020-11-25T01:02:03Z",
"reportFrequency": "month",
"currency": [
"USD"
]
},
"data": {
"subSections": [
{
"name": "Operating Expenses",
"amount": 1200
}
],
"totalAmount": 3500,
"percentageChange": 15
}
}Changes
- breaking
removed the enum value
myobfrom thequeryrequest parameterserviceName - breaking
removed the enum value
sandboxfrom thequeryrequest parameterserviceName - breaking
removed the enum value
wavefrom thequeryrequest parameterserviceName - warning
added the new
byodenum value to the/response property for the response status - warning
added the new
dynamics365Financeenum value to the/response property for the response status - warning
added the new
dynamicsBusinessCentralenum value to the/response property for the response status - warning
added the new
freshbooksenum value to the/response property for the response status - warning
added the new
myobenum value to the/response property for the response status - warning
added the new
oracleNetsuiteenum value to the/response property for the response status - warning
added the new
quickbooksenum value to the/response property for the response status - warning
added the new
quickbooksDesktopenum value to the/response property for the response status - warning
added the new
sageBusinessCloudenum value to the/response property for the response status - warning
added the new
sageIntacctenum value to the/response property for the response status - warning
added the new
waveenum value to the/response property for the response status - warning
added the new
xeroenum value to the/response property for the response status - warning
added the new
zohoBooksenum value to the/response property for the response status - info
added the new enum value
byodto thequeryrequest parameterserviceName - info
added the new enum value
zohoBooksto thequeryrequest parameterserviceName
- breaking