TAG LINE
SMALL TITLE

Term Type

(API Version v2)


System defined list of term types such as Fixed or Variable.


What can you do with TermType?


Properties

Property Details
identity
READ-ONLY
"identity": 25
Type: Number
This is the unique numeric identifier for the TermType
name
READ-ONLY
"name": "Fixed Term"
Type: String
System defined name for the Term Type
sortOrder
READ-ONLY
"sortOrder": 5
Type: Number
Unused


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:

  • name
  • sortOrder

End Points

GETapi/v2/TermType/
Retrieve all of the TermType objects.
Retrieve all of the TermType objects.
GET api/v2/TermType/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "name": "Fixed Term",
            "sortOrder": 4
        }
    ]
}
GETapi/v2/TermType/Paged
Retrieve all of the TermType 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 TermType objects in a paged fashion.
GET api/v2/TermType/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,
                "name": "Fixed Term",
                "sortOrder": 24
            }
        ]
    }
}
GETapi/v2/TermType/{id}
Retrieve an instance of the TermType object by its ID.
{id}Unique identifier for the TermType object.
Retrieve an instance of the TermType object by its ID.
GET api/v2/TermType/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "name": "Fixed Term",
        "sortOrder": 11
    }
}