In this document:
The considered APS type (download
)
extends the Resource APS type(s) and looks as follows:
{
"name": "TaxManagement",
"id": "http://ingrammicro.com/cb/tax-management/1.0",
"apsVersion": "2.0",
"implements": [
"http://aps-standard.org/types/core/resource/1.0"
],
"operations": {
"useParentSettings": {
"path": "tax/useParentSettings",
"verb": "POST",
"errorResponse": {
"type": "object"
},
"parameters": {
"request": {
"kind": "body",
"type": "TaxConfig",
"required": true
}
}
}
},
"structures": {
"TaxConfig": {
"type": "object",
"properties": {
"accountId": {
"type": "integer",
"required": true
},
"taxPlugin": {
"type": "string",
"required": true
}
}
}
}
}
OPERATION |
VERB |
PATH |
RETURNS |
Description |
---|---|---|---|---|
POST |
/tax/useParentSettings |
Apply tax parent settings, can be configured only for VERTEX tax plugin |
NAME |
TYPE |
ATTRIBUTES |
DEFAULT |
DESCRIPTION |
---|---|---|---|---|
accountId |
Integer |
Required |
||
taxPlugin |
String |
Required |
Since the considered APS type contains custom operations, refer to Custom Operations for the general explanation of their structure and examples of operation calls.