Create a tax service provider

post

https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/taxServiceProvider

Request

There are no request parameters for this operation.

Supported Media Types
Request Body - application/json ()
Root Schema : TaxServiceProviderOracle
Type: object
Title: TaxServiceProviderOracle
The tax service provider name and list of taxcodes supported.
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Nested Schema : taxCodes
Type: array
Show Source
Nested Schema : TimePeriod
Type: object
Title: TimePeriod
The period for which the productOffering is valid
Show Source
Nested Schema : TaxCodeGLRelationship
Type: object
Title: TaxCodeGLRelationship
TaxCodeGLRelationship object.
Show Source
Back to Top

Response

Supported Media Types

201 Response

Your request is successful and a new resource has been created.
Body ()
Root Schema : TaxServiceProviderOracle
Type: object
Title: TaxServiceProviderOracle
The tax service provider name and list of taxcodes supported.
Show Source
Nested Schema : ProjectRef
Type: object
Title: ProjectRef
Project Reference
Show Source
Nested Schema : taxCodes
Type: array
Show Source
Nested Schema : TimePeriod
Type: object
Title: TimePeriod
The period for which the productOffering is valid
Show Source
Nested Schema : TaxCodeGLRelationship
Type: object
Title: TaxCodeGLRelationship
TaxCodeGLRelationship object.
Show Source

400 Response

Your request couldn't be processed because it contains missing or invalid information, such as a validation error on an input field, a missing required value, and so forth.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

401 Response

Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

404 Response

Your request includes a resource URI that doesn't exist.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

405 Response

HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source

500 Response

The server encountered something unexpected that prevented it from completing the request.
Body ()
Root Schema : Error
Type: object
Title: Error
Show Source
Back to Top

Examples

The following example shows how to create a tax service provider by submitting a POST request on the REST resource using cURL.

Command: curl -u username:password -X POST https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/catalogManagement/v1/taxServiceProvider/ -D @create_taxserviceprovider.json | json_pp

Example of Request Body

The following example shows the contents of the request body in JSON format:

{
 "name": "Pinnacle Financials",
    "description": "Pinnacle financials provides tax services for APAC region.",
   project": {
     "id": "Tax_5532",
   "name": "APAC_Tax_2020_2021"
    }
}

Example of Response Body

The following example shows the contents of the response body in JSON format:

{
    "id": "Tax_3243",
    "name": "Pinnacle Financials",
    "description": "Pinnacle financials provides tax services for APAC region.",
    "@type": "TaxServiceProviderOracle",
    "@baseType": "TaxServiceProvider",
    "validFor": {
        "startDateTime": "2020-06-19T16:42:23.0Z",
        "endDateTime": "2021-08-19T16:42:23.0Z"
    },
    "taxCodes": [
        {
            "taxCode": "Tax_1323",
            "description": "The code is used to tax capital gains.",
            "glid": "pin_tax_1323",
            "@type": "TaxCodeGLRelationshipOracle"
        },
        {
            "taxCode": "Tax_1424",
            "description": "The code is used to tax income from additional sources.",
            "glid": "pin_tax_1424",
            "@type": "TaxCodeGLRelationshipOracle"
        }
    ],
"project": {
     "id": "Tax_5532",
   "name": "APAC_Tax_2020_2021"
    }
}
Back to Top