TAG LINE
SMALL TITLE

Account / Summary

(API Version v2)


What can you do with AccountSummary?


Properties

Property Details
identity
READ-ONLY
"identity": 17
Type: Number
This is the unique numeric identifier for the AccountSummary
accountId
"accountId": 13
Type: Number
Unique identifier for the associated Account object.
accountName
"accountName": "Sample Name"
Type: String
The name of the object associated with the accountId property.
balance
"balance": 26
Type: Number
charge
"charge": 26
Type: Number
tax
"tax": 10
Type: Number
discount
"discount": 20
Type: Number
payment
"payment": 2
Type: Number
credit
"credit": 12
Type: Number
balanceDue
"balanceDue": 25
Type: Number


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:

  • accountId
  • balance
  • charge
  • tax
  • discount
  • payment
  • credit
  • balanceDue

End Points

GETapi/v2/Account/Summary/
Retrieve all of the AccountSummary objects.
Retrieve all of the AccountSummary objects.
GET api/v2/Account/Summary/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "accountId": 27,
            "accountName": "Sample Text Data",
            "balance": 14,
            "charge": 18,
            "tax": 24,
            "discount": 4,
            "payment": 23,
            "credit": 20,
            "balanceDue": 25
        }
    ]
}
GETapi/v2/Account/Summary/Paged
Retrieve all of the AccountSummary 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 AccountSummary objects in a paged fashion.
GET api/v2/Account/Summary/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,
                "accountId": 14,
                "accountName": "Sample Text Data",
                "balance": 10,
                "charge": 6,
                "tax": 25,
                "discount": 1,
                "payment": 15,
                "credit": 1,
                "balanceDue": 19
            }
        ]
    }
}
GETapi/v2/Account/Summary/{id}
Retrieve an instance of the AccountSummary object by its ID.
{id}Unique identifier for the AccountSummary object.
Retrieve an instance of the AccountSummary object by its ID.
GET api/v2/Account/Summary/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "accountId": 4,
        "accountName": "Sample Text Data",
        "balance": 15,
        "charge": 3,
        "tax": 11,
        "discount": 18,
        "payment": 1,
        "credit": 10,
        "balanceDue": 14
    }
}