TAG LINE
SMALL TITLE

Tax / Category

(API Version v4)


What can you do with TaxCategory?


Properties

Property Details
identity
READ-ONLY
"identity": 16
Type: Number
This is the unique numeric identifier for the TaxCategory
ownerId
READ-ONLY
"ownerId": 25
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.
name
"name": "Hello World"
Type: String


End Points

GETapi/v4/Tax/Category/
Retrieve all of the TaxCategory objects.
Retrieve all of the TaxCategory objects.
GET api/v4/Tax/Category/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 0,
            "ownerName": "Sample Text Data",
            "name": "Sample Text Data"
        }
    ]
}
GETapi/v4/Tax/Category/Paged
Retrieve all of the TaxCategory 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 TaxCategory objects in a paged fashion.
GET api/v4/Tax/Category/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": 17,
                "ownerName": "Sample Text Data",
                "name": "Sample Text Data"
            }
        ]
    }
}
GETapi/v4/Tax/Category/{id}
Retrieve an instance of the TaxCategory object by its ID.
{id}Unique identifier for the TaxCategory object.
Retrieve an instance of the TaxCategory object by its ID.
GET api/v4/Tax/Category/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "ownerId": 19,
        "ownerName": "Sample Text Data",
        "name": "Sample Text Data"
    }
}
POSTapi/v4/Tax/Category/Search
Retreive a list of TaxCategory objects based on search criteria. Search end points allow for retrieving results based on search criteria. Search criteria is sent as the payload of the POST.
Retreive a list of TaxCategory objects based on search criteria.
POST api/v4/Tax/Category/Search

{
    "query": {
        "top": 20,
        "search": [
            {
                "name": "MyFieldName",
                "operator": "startsWith",
                "value": "a"
            }
        ]
    }
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "itemCount": 1,
    "items": [
        {
            "identity": 1,
            "ownerId": 2,
            "ownerName": "Sample Text Data",
            "name": "Sample Text Data"
        }
    ]
}