TAG LINE
SMALL TITLE

Bill Run / History

(API Version v3)


A list of previously run, or currently running, Bill Run details.


What can you do with BillRunHistory?


Properties

Property Details
identity
READ-ONLY
"identity": 27
Type: Number
This is the unique numeric identifier for the BillRunHistory
ownerId
READ-ONLY
"ownerId": 5
Type: Number
Unique identifier for the associated Owner object.
ownerName
READ-ONLY
"ownerName": "Sample Name"
Type: String
The name of the object associated with the ownerId property.
billRunId
"billRunId": 18
Type: Number
Unique identifier for the associated BillRun object.
billRunName
"billRunName": "Sample Name"
Type: String
The name of the object associated with the billRunId property.
name
"name": "Hello World"
Type: String
complete
READ-ONLY
"complete": true
Type: Boolean
Whether or not this Bill Run has completed.
billRunScheduleId
"billRunScheduleId": 27
Type: Number
Unique identifier for the associated BillRunSchedule object.
billRunScheduleName
"billRunScheduleName": "Sample Name"
Type: String
The name of the object associated with the billRunScheduleId property.
currencyExchangeId
"currencyExchangeId": 4
Type: Number
Unique identifier for the associated CurrencyExchange object.
currencyExchangeName
"currencyExchangeName": "Sample Name"
Type: String
The name of the object associated with the currencyExchangeId property.
parentBillRunHistoryId
"parentBillRunHistoryId": 18
Type: Number
Unique identifier for the associated BillRunHistory object.
parentBillRunHistoryName
"parentBillRunHistoryName": "Sample Name"
Type: String
The name of the object associated with the parentBillRunHistoryId property.


Update Request Filters

Update Request Filters are no longer required starting with v4 of the LogiSense Billing API.

When updating an object you use the update request header with the list of properties to update. Then you need only supply the new values in the body of your request. Please note, this header can only be used with PUT or PATCH requests.

Field List:

  • billRunId
  • name
  • complete
  • billRunScheduleId
  • currencyExchangeId
  • parentBillRunHistoryId

End Points

GETapi/v3/BillRun/History/
Retrieve all of the BillRunHistory objects.
Retrieve all of the BillRunHistory objects.
GET api/v3/BillRun/History/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 13,
            "ownerName": "Sample Text Data",
            "billRunId": 22,
            "billRunName": "Sample Text Data",
            "name": "Sample Text Data",
            "complete": true,
            "billRunScheduleId": 9,
            "billRunScheduleName": "Sample Text Data",
            "currencyExchangeId": 11,
            "currencyExchangeName": "Sample Text Data",
            "parentBillRunHistoryId": 10,
            "parentBillRunHistoryName": "Sample Text Data"
        }
    ]
}
GETapi/v3/BillRun/History/Paged
Retrieve all of the BillRunHistory objects in a paged fashion. This endpoint implements pagination for its results. Individual pages can be requested to return a particular paged set in the list of results. To learn more, see details on working with paginated endpoints.
Retrieve all of the BillRunHistory objects in a paged fashion.
GET api/v3/BillRun/History/Paged
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 11,
                "ownerName": "Sample Text Data",
                "billRunId": 25,
                "billRunName": "Sample Text Data",
                "name": "Sample Text Data",
                "complete": true,
                "billRunScheduleId": 24,
                "billRunScheduleName": "Sample Text Data",
                "currencyExchangeId": 9,
                "currencyExchangeName": "Sample Text Data",
                "parentBillRunHistoryId": 5,
                "parentBillRunHistoryName": "Sample Text Data"
            }
        ]
    }
}
GETapi/v3/BillRun/History/Paged/Detail
Retrieve all of the BillRunHistory objects in a paged fashion with all object details. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
Retrieve all of the BillRunHistory objects in a paged fashion with all object details.
GET api/v3/BillRun/History/Paged/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "pagination": {
        "pageNumber": 1,
        "pageSize": 20,
        "excludeTotalCount": false
    },
    "pagedResults": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "ownerId": 4,
                "ownerName": "Sample Text Data",
                "billRunId": 17,
                "billRunName": "Sample Text Data",
                "name": "Sample Text Data",
                "complete": true,
                "billRunScheduleId": 7,
                "billRunScheduleName": "Sample Text Data",
                "currencyExchangeId": 19,
                "currencyExchangeName": "Sample Text Data",
                "parentBillRunHistoryId": 23,
                "parentBillRunHistoryName": "Sample Text Data",
                "details": {
                    "sampleSingleObject": {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    },
                    "sampleMultipleObjects": {
                        "totalCount": 1,
                        "items": [
                            {
                                "identity": 2,
                                "property1": "Sample Text",
                                "property2": "2021-04-26T15:25:29.117Z",
                                "property3": 2
                            }
                        ]
                    }
                }
            }
        ]
    }
}
GETapi/v3/BillRun/History/{id}
Retrieve an instance of the BillRunHistory object by its ID.
{id}Unique identifier for the BillRunHistory object.
Retrieve an instance of the BillRunHistory object by its ID.
GET api/v3/BillRun/History/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 17,
        "ownerName": "Sample Text Data",
        "billRunId": 2,
        "billRunName": "Sample Text Data",
        "name": "Sample Text Data",
        "complete": true,
        "billRunScheduleId": 2,
        "billRunScheduleName": "Sample Text Data",
        "currencyExchangeId": 19,
        "currencyExchangeName": "Sample Text Data",
        "parentBillRunHistoryId": 11,
        "parentBillRunHistoryName": "Sample Text Data"
    }
}
GETapi/v3/BillRun/History/{id}/Detail
Retrieve deep detail of the BillRunHistory object by its ID. This endpoint returns additional detailed data related to this object. The specifics on which data is returned will depend on which related objects have been populated in the system.
{id}Unique identifier for the BillRunHistory object.
Retrieve deep detail of the BillRunHistory object by its ID.
GET api/v3/BillRun/History/{id}/Detail
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 14,
        "ownerName": "Sample Text Data",
        "billRunId": 25,
        "billRunName": "Sample Text Data",
        "name": "Sample Text Data",
        "complete": true,
        "billRunScheduleId": 6,
        "billRunScheduleName": "Sample Text Data",
        "currencyExchangeId": 17,
        "currencyExchangeName": "Sample Text Data",
        "parentBillRunHistoryId": 7,
        "parentBillRunHistoryName": "Sample Text Data",
        "details": {
            "sampleSingleObject": {
                "identity": 2,
                "property1": "Sample Text",
                "property2": "2021-04-26T15:25:29.117Z",
                "property3": 2
            },
            "sampleMultipleObjects": {
                "totalCount": 1,
                "items": [
                    {
                        "identity": 2,
                        "property1": "Sample Text",
                        "property2": "2021-04-26T15:25:29.117Z",
                        "property3": 2
                    }
                ]
            }
        }
    }
}