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" : "Description for TAXSP002",
    "validFor": {
        "startDateTime": "2024-08-09T00:00:00.000Z",
        "endDateTime": "2028-08-09T00:00:00.000Z"
    }
}

Example of Response Body

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

{
    "lastUpdate": "2025-02-17T13:20:07.013Z",
    "lastUpdatedBy": "booth",
    "created": "2025-01-08T07:29:50.000Z",
    "createdBy": "booth",
    "id": "TAXSP001",
    "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/taxServiceProvider/TAXSP001",
    "name": "Tax Service Provider 001",
    "description" : "Description for TAXSP002",
    "validFor": {
        "startDateTime": "2024-08-09T00:00:00.000Z",
        "endDateTime": "2028-08-09T00:00:00.000Z"
    }
    "@type": "TaxServiceProviderOracle",
    "project": {
        "id": "AutomationProject",
        "name": "AutomationProject",
        "href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/AutomationProject",
        "version": "1.0",
        "@referredType": "ProjectOracle"
    },
    "@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