Update a catalog
patch
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/catalog/{id}
Updates the catalog that matches the specified ID using the supplied request payload.
Request
Path Parameters
-
id(required): string
The ID of the resource item.
Supported Media Types
- application/json
Nested Schema : Catalog
Type:
objectTitle:
CatalogDiscriminator: @type
Discriminator Values
The catalog resource.
Show Source
-
@baseType: string
Indicates the base class type of this REST resource.
-
@schemaLocation: string
The URI of the schema that defines the catalog.
-
@type(required): string
Indicates the (class) type of catalog. For entity catalogs, this will be 'EntityCatalog'.
-
catalogType: string
The type or classification of the catalog.
-
category: array
category
A list of categories associated with the catalog.
-
description: string
The description of this catalog.
-
href: string
The hyperlink reference to the catalog.
-
id: string
Maximum Length:
30The ID of the catalog. -
lastUpdate: string
(date-time)
The date and time when the catalog was last updated.
-
lifecycleStatus: string
The status of the catalog.
-
name(required): string
The name of the catalog.
- relatedParty: array relatedParty
-
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
The catalog version.
Nested Schema : type
Type:
Show Source
object-
applicationName: string
The name of the application associated with the catalog.
-
created: string
(date-time)
The date and time of the creation.
-
createdBy: string
The name of the person who created item.
-
externalId: string
The ID of the external associated with the catalog.
-
lastUpdatedBy: string
The name of the person who updated item.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
versionState: number
The version state of the catalog.
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.
Response
Supported Media Types
- application/json
200 Response
The catalog was updated successfully.
Nested Schema : Catalog
Type:
objectTitle:
CatalogDiscriminator: @type
Discriminator Values
The catalog resource.
Show Source
-
@baseType: string
Indicates the base class type of this REST resource.
-
@schemaLocation: string
The URI of the schema that defines the catalog.
-
@type(required): string
Indicates the (class) type of catalog. For entity catalogs, this will be 'EntityCatalog'.
-
catalogType: string
The type or classification of the catalog.
-
category: array
category
A list of categories associated with the catalog.
-
description: string
The description of this catalog.
-
href: string
The hyperlink reference to the catalog.
-
id: string
Maximum Length:
30The ID of the catalog. -
lastUpdate: string
(date-time)
The date and time when the catalog was last updated.
-
lifecycleStatus: string
The status of the catalog.
-
name(required): string
The name of the catalog.
- relatedParty: array relatedParty
-
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
The catalog version.
Nested Schema : type
Type:
Show Source
object-
applicationName: string
The name of the application associated with the catalog.
-
created: string
(date-time)
The date and time of the creation.
-
createdBy: string
The name of the person who created item.
-
externalId: string
The ID of the external associated with the catalog.
-
lastUpdatedBy: string
The name of the person who updated item.
-
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. -
versionState: number
The version state of the catalog.
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.
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 catalog by submitting a PATCH request on the REST resource using cURL.
cURL Command
curl -u username:password -X PATCH
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/catalog/ConsumerCatalog
-H 'Content-Type: application/json' -D @update_catalog.json |
json_pp
Example of Request Body
The following example shows the contents of the request body in JSON format.
{
"validFor": {
"startDateTime": "2024-08-09T00:00:00.000Z",
"endDateTime": "2028-08-09T00:00:00.000Z"
},
"description" : "Catalog definition for Consumers"
}Example of Response Body
The following example shows the contents of the request body in JSON
format.
{
"id": "ConsumerCatalog",
"name": "ConsumerCatalog",
"description": "Catalog definition for Consumers",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/catalog/ConsumerCatalog",
"version": "1.0",
"lifecycleStatus": "In design",
"created": "2025-02-18T07:51:47.000Z",
"createdBy": "booth",
"lastUpdate": "2025-03-06T13:47:51.153Z",
"lastUpdatedBy": "booth",
"@type": "CatalogOracle",
"@baseType": "Catalog",
"catalogType": "PRODUCT",
"validFor": {
"startDateTime": "2024-08-09T00:00:00.000Z",
"endDateTime": "2028-08-09T00:00:00.000Z"
},
"project": {
"id": "DBE_RI_ProdModel_PreSeed_PSP",
"name": "DBE RI Product Model Preseed",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/DBE_RI_ProdModel_PreSeed_PSP",
"version": "1.0",
"@referredType": "ProjectOracle"
},
"relatedParty": [
{
"role": "ROLE1",
"partyOrPartyRole": {
"id": "PartyRoleID",
"name": "PartyRoleName",
"partyId": "partyid123",
"partyName": "partyName",
"@referredType": "PartyRole",
"@type": "PartyRoleRef"
},
"@type": "RelatedPartyRefOrPartyRoleRef"
}
],
"category": [
{
"id": "88-4KXTW",
"name": "2D Scanners",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/category/88-4KXTW",
"version": "1.0",
"@referredType": "CategoryOracle",
"@type": "CategoryOracle"
},
{
"id": "88-4KXTY",
"name": "Android Scanners",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v5/category/88-4KXTY",
"version": "1.0",
"@referredType": "CategoryOracle",
"@type": "CategoryOracle"
}
]
}