Get Tax Classes
post
/config/sim/v1/sales/gettaxclasses
Gets all the tax classes
Request
Supported Media Types
- application/json
- multipart/form-data
Header Parameters
-
Simphony-OrgShortName: string(string)
Org Identifier
A request body
Root Schema : TaxClassGetRequestBody
Type:
objectThe input Body model that needs to be given.
Show Source
-
include(optional):
string
Objects included in response
-
languages(optional):
string
If specified, limits translated strings returned
-
limit(optional):
integer
If using paging, number of results returned in this page.
-
offset(optional):
integer
Starting resource record index. Not required if paging parameters are not supported
-
orderBy(optional):
string
Sorts the response by the specified field name and sort order.
-
searchCriteria(optional):
string
Search criteria to filter results based on field value
Response
Supported Media Types
- application/json
200 Response
A collection of tax class entities in an organization.
Root Schema : TaxClass
Type:
objectModel for Tax Class Object
Show Source
-
hierUnitId:
integer
Unique reference of the hierarchy unitExample:
2 -
hierUnitName(optional):
object TranslatedString_HierUnitName
Additional Properties Allowed: additionalPropertiesA group of string objects representing the name of the hierarchy unit configured languages
-
hierUnitObjNum(optional):
integer
Object number of the hierarchy unitExample:
1 -
name:
object TranslatedString_Name
A group of string objects representing the name of the tax in configured languages
-
objectNum:
integer
Object Number of the family groupExample:
1 -
taxes(optional):
array taxes
An array of taxes configured for the tax class
Nested Schema : TranslatedString_HierUnitName
Type:
objectAdditional Properties Allowed
Show Source
A group of string objects representing the name of the hierarchy unit configured languages
Example:
{
"en-US":"Enterprise",
"es-SS":"Empresa",
"lt=LT":"??mon??"
}Nested Schema : TranslatedString_Name
Type:
objectA group of string objects representing the name of the tax in configured languages
Example:
{
"en-US":"Family Group 1",
"es-SS":"Grupo familiar 1",
"lt=LT":"1 ??eimos grup??"
}Nested Schema : items
Type:
Show Source
object-
taxObjNum(optional):
integer
Object Number of the taxExample:
1
400 Response
400 Bad Request
Root Schema : ErrorDetails
Type:
objectResponse body when the request returns an error.
Show Source
-
detail(optional):
string
A short, human-readable summary of the problem.Example:
Specified Data is invalid -
errorDetails(optional):
string
A human-readable explanation specific to this occurrence of the problem.Example:
Entity Does Not Exist -
o:errorCode(optional):
integer
Error code of the problemExample:
55223 -
status(optional):
integer
HTTP status code.Example:
400 -
title(optional):
string
A short, human-readable summary of the problem type.Example:
VALIDATION ERROR -
type(optional):
string
A URI reference that identifies the problem type. When this member is not present, its value is assumed to be "about:blank".Example:
http://www.abc.org/xyz.html
404 Response
404 Requested resource not found