Update a tax service provider
patch
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/taxServiceProvider/{id}
Updates the tax service provider with the specified ID.
Request
Path Parameters
-
id(required): string
The ID of the resource item.
Supported Media Types
- application/json
Root Schema : TaxServiceProviderOracle
Type:
objectTitle:
TaxServiceProviderOracleThe tax service provider name and list of taxcodes supported.
Show Source
-
@baseType: string
The base type of the tax service provider.
-
@schemaLocation: string
A link to the schema describing this tax service provider.
-
@type(required): string
The class type of the tax service provider.
-
applicationName: string
The name of the application associated with the tax service provider.
-
created: string
(date-time)
The date and time of creation.
-
createdBy: string
The name of the person who created.
-
description: string
A string. A narrative that explains in detail what the tax service provider is.
-
externalId: string
The ID of the external associated with the tax service provider.
-
href: string
A string. Reference of the tax service provider.
-
id: string
Maximum Length:
30The ID of the tax service provider. -
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the tax service provider.
-
lastUpdatedBy: string
The name of the person who updated.
-
lifecycleStatus: string
The status of the tax service provider.
-
name(required): string
A string. Name of the tax service provider.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
taxCodes: array
taxCodes
A list of tax codes associated with the tax service provider.
-
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
The tax service provider version.
-
versionState: number
The version state of the Tax Service Provider.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefThe project reference resource.
Show Source
-
href: string
The hyperlink reference to the project reference.
-
id(required): string
The ID of the project reference.
-
name: string
The name of the project reference.
-
version: string
The version of the project.
Nested Schema : taxCodes
Type:
arrayA list of tax codes associated with the tax service provider.
Show Source
-
Array of:
object TaxCodeGLRelationship
Title:
TaxCodeGLRelationshipThe taxCodeGLRelationship object.
Nested Schema : TimePeriod
Type:
objectTitle:
TimePeriodThe period for which the productOffering is valid.
Show Source
-
endDateTime: string
(date-time)
The end date and time of the time period.
-
startDateTime: string
(date-time)
The start date and time of the time period.
Nested Schema : TaxCodeGLRelationship
Type:
objectTitle:
TaxCodeGLRelationshipThe taxCodeGLRelationship object.
Show Source
-
@baseType: string
The base class type (immediate parent) of the ServiceSpecCharacteristicRelationship.
-
@schemaLocation: string
The URI of the schema that defines the tax code gl relationship.
-
@type(required): string
The class type of the tax code gl relationship.
-
description: string
The description of the tax code.
-
glid: string
The glid value.
-
taxCode(required): string
The tax code associated with the tax code gl relationship.
-
taxPercentage: number
The tax percentage value.
Response
Supported Media Types
- application/json
200 Response
The tax service provider was updated successfully.
Root Schema : TaxServiceProviderOracle
Type:
objectTitle:
TaxServiceProviderOracleThe tax service provider name and list of taxcodes supported.
Show Source
-
@baseType: string
The base type of the tax service provider.
-
@schemaLocation: string
A link to the schema describing this tax service provider.
-
@type(required): string
The class type of the tax service provider.
-
applicationName: string
The name of the application associated with the tax service provider.
-
created: string
(date-time)
The date and time of creation.
-
createdBy: string
The name of the person who created.
-
description: string
A string. A narrative that explains in detail what the tax service provider is.
-
externalId: string
The ID of the external associated with the tax service provider.
-
href: string
A string. Reference of the tax service provider.
-
id: string
Maximum Length:
30The ID of the tax service provider. -
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the tax service provider.
-
lastUpdatedBy: string
The name of the person who updated.
-
lifecycleStatus: string
The status of the tax service provider.
-
name(required): string
A string. Name of the tax service provider.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
taxCodes: array
taxCodes
A list of tax codes associated with the tax service provider.
-
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
The tax service provider version.
-
versionState: number
The version state of the Tax Service Provider.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefThe project reference resource.
Show Source
-
href: string
The hyperlink reference to the project reference.
-
id(required): string
The ID of the project reference.
-
name: string
The name of the project reference.
-
version: string
The version of the project.
Nested Schema : taxCodes
Type:
arrayA list of tax codes associated with the tax service provider.
Show Source
-
Array of:
object TaxCodeGLRelationship
Title:
TaxCodeGLRelationshipThe taxCodeGLRelationship object.
Nested Schema : TimePeriod
Type:
objectTitle:
TimePeriodThe period for which the productOffering is valid.
Show Source
-
endDateTime: string
(date-time)
The end date and time of the time period.
-
startDateTime: string
(date-time)
The start date and time of the time period.
Nested Schema : TaxCodeGLRelationship
Type:
objectTitle:
TaxCodeGLRelationshipThe taxCodeGLRelationship object.
Show Source
-
@baseType: string
The base class type (immediate parent) of the ServiceSpecCharacteristicRelationship.
-
@schemaLocation: string
The URI of the schema that defines the tax code gl relationship.
-
@type(required): string
The class type of the tax code gl relationship.
-
description: string
The description of the tax code.
-
glid: string
The glid value.
-
taxCode(required): string
The tax code associated with the tax code gl relationship.
-
taxPercentage: number
The tax percentage value.
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.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
404 Response
The resource with the specified URI couldn't be found.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
405 Response
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
500 Response
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
objectTitle:
ErrorThe error resource.
Show Source
-
@schemaLocation: string
The URI of the schema that defines the error.
-
@type: string
The class type of a REST resource.
-
code(required): string
Application related code (as defined in the API or from a common list).
-
message: string
The text that provides more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
The text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
The URL pointing to documentation describing the error.
-
status: string
The status of the error.
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"
}