Update a tax service provider

patch

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

Request

Path Parameters
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

200 Response

OK
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 update a tax service provider details by submitting a PATCH request on the REST resource using cURL. In this example, we will be updating the name of a project for the tax service provider.

Command: curl -u username:password -X PATCH \ 
'https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/catalogManagement/v1/taxServiceProvider/24A_ProductModel_PSP

Example of Request Body

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

   {
"description": "This is a new tax service provider based out of the Americas",
    "project": {
        "id": "24A_ProductModel_PSP",
        "name": "24A - DX4C Product Model for PSP",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/24A_ProductModel_PSP",
        "versionState": 0
    }
   } 

Example of Response Body

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

{
    "lastUpdate": "2023-10-04T09:38:40.363Z",
    "lastUpdatedBy": "booth",
    "created": "2023-10-03T05:26:48.000Z",
    "createdBy": "booth",
    "id": "TAXSP001",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/taxServiceProvider/Avalara/TAXSP001",
    "name": "Tax Service Provider 001",
    "description": "This is a new tax service provider based out of the Americas",
    "@type": "TaxServiceProviderOracle",
    "project": {
        "id": "24A_ProductModel_PSP",
        "name": "24A - DX4C Product Model for PSP",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/24A_ProductModel_PSP",
        "versionState": 0
    },
    "@baseType": "TaxServiceProvider",
    "validFor": {
        "startDateTime": "2020-09-29T03:50:48.000Z"
    },
    "taxCodes": [
        {
            "taxCode": "TC100",
            "description": "Description for TC100",
            "glid": "ID_TC100",
            "@type": "TaxCodeGLRelationshipOracle"
        },
        {
            "taxCode": "TC200",
            "description": "Description for TC200",
            "glid": "ID_TC200",
            "@type": "TaxCodeGLRelationshipOracle"
        },
        {
            "taxCode": "TC300",
            "description": "Description for TC300",
            "glid": "ID_TC300",
            "@type": "TaxCodeGLRelationshipOracle"
        }
    ],
    "externalId": "eid",
    "applicationName": "LaunchX",
    "lifecycleStatus": "In design",
    "version": "1.0"
}
}
Back to Top