Liability Class Codes

A liability code object represents a single liability class code identifier in Wunderite. It is used in the liabilities API to specify which class code is associated with a given entity.

Liability class codes are readonly objects in the API. They are created and managed by Wunderite.

The Liability Class Code object

A liability class code object contains the following properties:

Properties


GET/api/v1/liability_codes

List liability class codes

This endpoint allows you to retrieve a paginated list of liability class codes.

Required parameters

  • Name
    filter[code]
    Type
    string
    Description

    Filter by liability class code

Optional parameters

  • Name
    filter[description]
    Type
    string
    Description

    Filter liability class codes by a fuzzy match on the description to narrow down class codes to the correct phraseology

Request

GET
/api/v1/liability_codes
curl -G https://app.wunderite.com/api/v1/liability_codes \
-H "Authorization: Bearer {token}" \
-d "filter[code]=11039"

Response

{ "data": [ { "object": "liability_code", "uuid": "8d788f95-f2d1-11ef-a445-0242c0a87503", "data": { "code": "11039", "description": "Caterers" } }
], "path": "https:\/\/api.wunderite.com\/api\/v1\/liability_codes", "per_page": 20, "next_cursor": null, "next_page_url": null, "prev_cursor": null, "prev_page_url": null }