TAG LINE
SMALL TITLE

Tax / Rate

(API Version v4)


What can you do with TaxRate?


Properties

Property Details
identity
READ-ONLY
"identity": 1
Type: Number
This is the unique numeric identifier for the TaxRate
rate
"rate": 7
Type: Number
name
"name": "Hello World"
Type: String
ownerId
READ-ONLY
"ownerId": 6
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.
generalLedgerId
"generalLedgerId": 11
Type: Number
Unique identifier for the associated GeneralLedger object.
generalLedgerName
"generalLedgerName": "Sample Name"
Type: String
The name of the object associated with the generalLedgerId property.
displayName
"displayName": "Hello World"
Type: String
taxOnTax
"taxOnTax": true
Type: Boolean
systemGenerated
"systemGenerated": true
Type: Boolean
taxCategoryId
"taxCategoryId": 23
Type: Number
Unique identifier for the associated TaxCategory object.
taxCategoryName
"taxCategoryName": "Sample Name"
Type: String
The name of the object associated with the taxCategoryId property.


End Points

DELETEapi/v4/Tax/Rate/{id}
Delete an instance of the TaxRate object. Upon successful delete, this API will return a record of all of the reelated objects deleted with this operation. The specifics on which objects have been deleted will depend on which related objects have been populated in the system.
{id}Unique identifier for the TaxRate object.
Delete an instance of the TaxRate object.
DELETE api/v4/Tax/Rate/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "delete",
    "results": {
        "totalCount": 4,
        "items": [
            {
                "identity": 1,
                "action": "deleted",
                "dtoTypeKey": "taxRate"
            },
            {
                "lhsId": 2,
                "rhsId": 2,
                "action": "detached",
                "dtoTypeKey": "sampleObjectConnector"
            },
            {
                "foreignKeyIdentity": 2,
                "action": "deleted",
                "dtoTypeKey": "sampleObject"
            }
        ]
    }
}
GETapi/v4/Tax/Rate/
Retrieve all of the TaxRate objects.
Retrieve all of the TaxRate objects.
GET api/v4/Tax/Rate/
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "totalCount": 1,
    "items": [
        {
            "identity": 1,
            "rate": 9,
            "name": "Sample Text Data",
            "ownerId": 21,
            "ownerName": "Sample Text Data",
            "generalLedgerId": 14,
            "generalLedgerName": "Sample Text Data",
            "displayName": "Sample Text Data",
            "taxOnTax": true,
            "systemGenerated": true,
            "taxCategoryId": 3,
            "taxCategoryName": "Sample Text Data"
        }
    ]
}
GETapi/v4/Tax/Rate/Paged
Retrieve all of the TaxRate 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 TaxRate objects in a paged fashion.
GET api/v4/Tax/Rate/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,
                "rate": 14,
                "name": "Sample Text Data",
                "ownerId": 8,
                "ownerName": "Sample Text Data",
                "generalLedgerId": 1,
                "generalLedgerName": "Sample Text Data",
                "displayName": "Sample Text Data",
                "taxOnTax": true,
                "systemGenerated": true,
                "taxCategoryId": 11,
                "taxCategoryName": "Sample Text Data"
            }
        ]
    }
}
GETapi/v4/Tax/Rate/{id}
Retrieve an instance of the TaxRate object by its ID.
{id}Unique identifier for the TaxRate object.
Retrieve an instance of the TaxRate object by its ID.
GET api/v4/Tax/Rate/{id}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "instance": {
        "identity": 1,
        "rate": 7,
        "name": "Sample Text Data",
        "ownerId": 16,
        "ownerName": "Sample Text Data",
        "generalLedgerId": 24,
        "generalLedgerName": "Sample Text Data",
        "displayName": "Sample Text Data",
        "taxOnTax": true,
        "systemGenerated": true,
        "taxCategoryId": 14,
        "taxCategoryName": "Sample Text Data"
    }
}
POSTapi/v4/Tax/Rate/
Create a new instance of the TaxRate object.
Create a new instance of the TaxRate object.
POST api/v4/Tax/Rate/

{
    "rate": 21,
    "name": "Sample Text Data",
    "generalLedgerId": 22,
    "displayName": "Sample Text Data",
    "taxOnTax": true,
    "systemGenerated": true,
    "taxCategoryId": 15
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "create",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "rate": 9,
                "name": "Sample Text Data",
                "ownerId": 7,
                "ownerName": "Sample Text Data",
                "generalLedgerId": 13,
                "generalLedgerName": "Sample Text Data",
                "displayName": "Sample Text Data",
                "taxOnTax": true,
                "systemGenerated": true,
                "taxCategoryId": 12,
                "taxCategoryName": "Sample Text Data"
            }
        ]
    }
}
POSTapi/v4/Tax/Rate/Search
Retreive a list of TaxRate 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 TaxRate objects based on search criteria.
POST api/v4/Tax/Rate/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,
            "rate": 8,
            "name": "Sample Text Data",
            "ownerId": 4,
            "ownerName": "Sample Text Data",
            "generalLedgerId": 9,
            "generalLedgerName": "Sample Text Data",
            "displayName": "Sample Text Data",
            "taxOnTax": true,
            "systemGenerated": true,
            "taxCategoryId": 27,
            "taxCategoryName": "Sample Text Data"
        }
    ]
}
PUTapi/v4/Tax/Rate/{id}
Update an existing instance of the TaxRate object.
Update an existing instance of the TaxRate object.
PUT api/v4/Tax/Rate/{id}

{
    "identity": 1,
    "rate": 19,
    "name": "Sample Text Data",
    "generalLedgerId": 13,
    "displayName": "Sample Text Data",
    "taxOnTax": true,
    "systemGenerated": true,
    "taxCategoryId": 26
}
View Sample Response
HTTP/1.1 200 OK
{
    "trackingId": "d2ae5304-2355-44eb-a328-272f02935f8b",
    "type": "update",
    "results": {
        "totalCount": 1,
        "items": [
            {
                "identity": 1,
                "rate": 18,
                "name": "Sample Text Data",
                "ownerId": 14,
                "ownerName": "Sample Text Data",
                "generalLedgerId": 18,
                "generalLedgerName": "Sample Text Data",
                "displayName": "Sample Text Data",
                "taxOnTax": true,
                "systemGenerated": true,
                "taxCategoryId": 26,
                "taxCategoryName": "Sample Text Data"
            }
        ]
    }
}