Skip to main content

Object Revisions

To get the recent revisions of objects within ChargeOver, add /_revision to the endpoint.

You can also limit the number of records to the most recent revisions by including ?limit=5 as a query parameter. You can only limit the number of returned records by 1-10.

API EXAMPLES
// Get the most recent 10 revisions of a customer
GET /API/v3/customer/100/_revision

// Get the most recent x number of revisions for a customer (max 10)
GET /API/v3/customer/100/_revision?limit=5
API RESPONSE BODY
{
"code": 200,
"status": "OK",
"message": "",
"response": [
{
"context_str": "customer",
"context_id": 100,
"admin_id": 1,
"admin_name": "Paul Rossmann",
"user_id": null,
"user_name": null,
"integration_id": null,
"revision_datetime": "2023-03-03 10:36:22",
"revision_ipaddr": "169.0.0.1",
"revision_note": "Customer updated"
},
{
"context_str": "customer",
"context_id": 100,
"admin_id": 1,
"admin_name": "Paul Rossmann",
"user_id": null,
"user_name": null,
"integration_id": null,
"revision_datetime": "2023-03-03 09:56:17",
"revision_ipaddr": "169.0.0.1",
"revision_note": "Customer created"
}
]
}