GET /businesses
Changed onGets a list of all team's businesses.
Request
- Base URLhttps://api.railz.ai
- AuthHTTP bearer
Query parameters
Partial or full business name or UUID.
One or more integration uuids related to businesses to filter by.
[ "INT-123" ]
The status of a business. If no status is provided then it fetches all
Response
Example response
{
"meta": {
"count": 1,
"offset": 1,
"limit": 1,
"currentPage": 1,
"totalPages": 1
},
"data": [
{
"businessUuid": "BIZ-0f1ef788-54eb-4ed1-a7d3-5605febe6d84",
"businessName": "Railz",
"status": "active",
"createdAt": "2020-12-25T01:02:03Z",
"updatedAt": "2020-12-25T01:02:03Z",
"metadata": [
{
"name": "new business1",
"value": "canada",
"webhookLocation": [
"header",
"body"
]
}
],
"connections": [
{
"connectionUuid": "CON-e66400c1-4d2f-4683-9bea-275799943695",
"firstRecordDate": "2020-12-25T01:02:03Z",
"serviceName": "xero",
"description": "TD Bank",
"status": "active",
"createdAt": "2020-12-25T01:02:03Z",
"updatedAt": "2020-12-25T01:02:03Z",
"disconnectReason": "disconnectedByCustomer",
"institution": {
"name": "Citizens bank",
"logo": "https://serverlogo.url"
},
"isMockData": true,
"serviceAccountRef": {
"id": "12345",
"entityRef": {
"id": "100"
}
},
"connectionId": "CON-e66400c1-4d2f-4683-9bea-275799943695"
}
]
}
]
}Changes
- breaking
removed the enum value
activefrom thequeryrequest parameterstatus - breaking
removed the enum value
inactivefrom thequeryrequest parameterstatus - breaking
removed the enum value
newfrom thequeryrequest parameterstatus - breaking
for the
queryrequest parameterstatus, the minItems was increased from0to1 - breaking
the response property
////became optional for the status - breaking
the response property
////became optional for the status - breaking
the response property
////became optional for the status - breaking
the response property
////became optional for the status - breaking
removed the required property
////from the response with the status - breaking
removed the required property
////from the response with the status - warning
added the new
dynamics365Financeenum 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
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
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
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
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
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
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
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
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
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
xeroenum value to the////response property for the response status - warning
added the new
zohoBooksenum 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 optional
queryrequest parameterbusinessNameOrUuid - info
added the new optional
queryrequest parameterintegrationUuids - info
for the
queryrequest parameterlimit, the max was increased from100.00to500.00 - info
for the
queryrequest parameterstatus, the type was generalized fromstringtoarray - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the required property
//to the response with the status - info
added the required property
//to the response with the status - info
added the required property
////to the response with the status - info
added the required property
////to the response with the status - info
the response required property
////became not read-only for the status - info
the response required property
////became not read-only for the status - info
the response required property
////became not read-only for the status - info
the response required property
////became not read-only for the status
- breaking