POST {scope}/AccountingIntegration/{accountingType}/SaveXeroTaxRate
Adds a new Xero tax rate. Note that the entry-point is specific to integration type, but there could potentially be multiple entry points that use the same service call.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
scope | string |
Required |
|
accountingType | string |
Required |
Body Parameters
SaveXeroTaxRateRequestName | Description | Type | Additional information |
---|---|---|---|
TaxRate |
Mapped Tax Rate Object |
TaxRate |
None. |
Type |
Override AccountingIntegrationType |
subscriber.mindbodyonline.com/Accounting/Models/EAccountingIntegrationType |
None. |
Request Formats
text/json, application/json
Sample:
{ "Type": 0 "TaxRate": { "Name": "sample rate name", "ReportTaxType": 0, "TaxComponents": [ { "Name": "sample component name", "Rate": 2.0, "IsCompound": false } ] } }
text/xml, application/xml
Sample:
<SaveXeroTaxRateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="subscriber.mindbodyonline.com"> <Type>Xero</Type> <TaxRate> <Name xmlns=">sample rate name</Name> <ReportTaxType xmlns=">OUTPUT</ReportTaxType> <TaxComponents xmlns="> <TaxComponent> <Name>sample component name</Name> <Rate>2</Rate> <IsCompound>false</IsCompound> </TaxComponent> </TaxComponents> </TaxRate> </SaveXeroTaxRateRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.