Create or update an array of custom profile specifications
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/customProfileSpecifications
Request
There are no request parameters for this operation.
- application/json
array150-
Array of:
object CustomProfileSpecificationOracle
Title:
CustomProfileSpecificationOracleThe custom profile specification resource.
objectCustomProfileSpecificationOracle-
@baseType: string
The base type of the custom profile specification.
-
@schemaLocation: string
The URI of the schema that defines the custom profile specification.
-
@type(required): string
The class type of the custom profile specification.
-
applicationName: string
The name of the application associated with the custom profile specification.
-
charValueObject: array
charValueObject
A list of char value objects associated with the custom profile specification.
-
created: string
(date-time)
The date and time of creation.
-
createdBy: string
The name of the person who created.
-
customProfileSpecChar: array
customProfileSpecChar
A list of custom profile specification characteristics associated with the custom profile specification.
-
customProfileSpecRel: array
customProfileSpecRel
A list of custom profile specification rels associated with the custom profile specification.
-
description: string
A string. A narrative that explains in detail what the Custom ProfileSpec is.
-
externalId: string
The ID of the external associated with the custom profile specification.
-
href: string
A string. Reference of the Custom ProfileSpec.
-
id: string
Maximum Length:
30The ID of the custom profile specification. -
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the Custom ProfileSpec.
-
lastUpdatedBy: string
The name of the person who updated.
-
lifecycleStatus: string
Indicates the current lifecycle status of the custom profile specification.
-
name(required): string
A string. Name of the Custom ProfileSpec.
-
profileCode: string
The profile code associated with the custom profile specification.
-
profileType(required): string
Allowed Values:
[ "DEVICE_SPEC", "BUSINESS_CONFIG", "TRADE_IN", "CHARGING_TERM", "SUSPENSION_TERM", "RETURN_CHECKLIST", "ENTITY_PROFILE", "RENEWAL_TERM", "FINANCE_PLAN", "ZONE_VALUE_MAP", "STANDARD_ZONE", "CUSTOM_ANALYZER_RULE", "POLICY_SPEC_TERM", "TIME_MODEL" ]The type or classification of the custom profile specification. -
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. - relatedParty: array relatedParty
-
targetProductSchema: object
TargetProductSchemaOracle
Title:
TargetProductSchemaOracle -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
A string. Custom ProfileSpec version.
-
versionState: number
The version state of the Customer Profile Specification.
array-
Array of:
object CharValueObjectRefOracle
Title:
CharValueObjectRefOracleThe Reference of the resource referred in CharValue of custom profile specification.
arrayarray-
Array of:
object CustomProfileSpecRel
Title:
CustomProfileSpecRelA migration, substitution, dependency or exclusivity relationship between/among custom profile specifications.
objectProjectRef-
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.
objectTargetProductSchemaOracle-
object
TargetProductSchema
Title:
TargetProductSchemaThe reference object to the schema and type of target product which is described by product specification. -
object
TargetProductSchemaOracle-allOf[1]
objectTimePeriod-
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.
objectCharValueObjectRefOracle-
@baseType: string
The base type of the characteristic value object reference.
-
@referredType(required): string
The type of the referred characteristic value object reference.
-
@schemaLocation: string
(uri)
The URI of the schema that defines the characteristic value object reference.
-
@type(required): string
The class type of the characteristic value object reference.
-
href: string
The hyperlink reference to the characteristic value object reference.
-
id(required): string
The ID of the characteristic value object reference.
-
name: string
The name of the characteristic value object reference.
-
resourceType: string
Allowed Values:
[ "SERVICE_SPEC" ]The type or classification of the characteristic value object reference. Valid values are SERVICE_SPEC.
objectCustomProfileSpecRel-
href: string
The hyperlink reference to the custom profile specification rel.
-
id(required): string
The ID of the custom profile specification rel.
-
relationshipType(required): string
Allowed Values:
[ "AGGREGATION", "MIGRATION", "SUBSTITUTION", "DEPENDENCY", "EXCLUSIVITY", "PARENT", "CONDITION", "EXCLUDES", "REQUIRES", "ALLOWED" ]The type or classification of the custom profile specification rel. Valid values are AGGREGATION, MIGRATION, SUBSTITUTION, DEPENDENCY, EXCLUSIVITY, PARENT, CONDITION, EXCLUDES, REQUIRES, and ALLOWED. -
validFor: object
TimePeriodOracle
Title:
TimePeriodOracleThe validity period of the related party. -
versionState: number
The version state of the reference.
objectTimePeriodOracle-
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.
objectRelatedParty-
@baseType: string
The base type of the related party reference or party role reference.
-
@schemaLocation: string
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type(required): string
The class type of the related party reference or party role reference.
-
partyOrPartyRole(required):
partyOrPartyRole
A list of party or party roles associated with the related party reference or party role reference.
-
role: string
The role played by the related party or party role in the context of the specific entity it is linked to. Such as 'initiator', 'customer', 'salesAgent', 'user'.
arrayobjectTargetProductSchema-
@schemaLocation(required): string
The URI of the schema that defines the target product schema.
-
@type(required): string
The class type of the target product schema.
object-
subType: string
The type or classification of the target product schema.
Response
- application/json
200 Response
array-
Array of:
object CustomProfileSpecificationOracle
Title:
CustomProfileSpecificationOracleThe custom profile specification resource.
objectCustomProfileSpecificationOracle-
@baseType: string
The base type of the custom profile specification.
-
@schemaLocation: string
The URI of the schema that defines the custom profile specification.
-
@type(required): string
The class type of the custom profile specification.
-
applicationName: string
The name of the application associated with the custom profile specification.
-
charValueObject: array
charValueObject
A list of char value objects associated with the custom profile specification.
-
created: string
(date-time)
The date and time of creation.
-
createdBy: string
The name of the person who created.
-
customProfileSpecChar: array
customProfileSpecChar
A list of custom profile specification characteristics associated with the custom profile specification.
-
customProfileSpecRel: array
customProfileSpecRel
A list of custom profile specification rels associated with the custom profile specification.
-
description: string
A string. A narrative that explains in detail what the Custom ProfileSpec is.
-
externalId: string
The ID of the external associated with the custom profile specification.
-
href: string
A string. Reference of the Custom ProfileSpec.
-
id: string
Maximum Length:
30The ID of the custom profile specification. -
lastUpdate: string
(date-time)
A date time (DateTime). Date and time of the last update of the Custom ProfileSpec.
-
lastUpdatedBy: string
The name of the person who updated.
-
lifecycleStatus: string
Indicates the current lifecycle status of the custom profile specification.
-
name(required): string
A string. Name of the Custom ProfileSpec.
-
profileCode: string
The profile code associated with the custom profile specification.
-
profileType(required): string
Allowed Values:
[ "DEVICE_SPEC", "BUSINESS_CONFIG", "TRADE_IN", "CHARGING_TERM", "SUSPENSION_TERM", "RETURN_CHECKLIST", "ENTITY_PROFILE", "RENEWAL_TERM", "FINANCE_PLAN", "ZONE_VALUE_MAP", "STANDARD_ZONE", "CUSTOM_ANALYZER_RULE", "POLICY_SPEC_TERM", "TIME_MODEL" ]The type or classification of the custom profile specification. -
project: object
ProjectRef
Title:
ProjectRefThe project reference resource. - relatedParty: array relatedParty
-
targetProductSchema: object
TargetProductSchemaOracle
Title:
TargetProductSchemaOracle -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid. -
version: string
A string. Custom ProfileSpec version.
-
versionState: number
The version state of the Customer Profile Specification.
array-
Array of:
object CharValueObjectRefOracle
Title:
CharValueObjectRefOracleThe Reference of the resource referred in CharValue of custom profile specification.
arrayarray-
Array of:
object CustomProfileSpecRel
Title:
CustomProfileSpecRelA migration, substitution, dependency or exclusivity relationship between/among custom profile specifications.
objectProjectRef-
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.
objectTargetProductSchemaOracle-
object
TargetProductSchema
Title:
TargetProductSchemaThe reference object to the schema and type of target product which is described by product specification. -
object
TargetProductSchemaOracle-allOf[1]
objectTimePeriod-
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.
objectCharValueObjectRefOracle-
@baseType: string
The base type of the characteristic value object reference.
-
@referredType(required): string
The type of the referred characteristic value object reference.
-
@schemaLocation: string
(uri)
The URI of the schema that defines the characteristic value object reference.
-
@type(required): string
The class type of the characteristic value object reference.
-
href: string
The hyperlink reference to the characteristic value object reference.
-
id(required): string
The ID of the characteristic value object reference.
-
name: string
The name of the characteristic value object reference.
-
resourceType: string
Allowed Values:
[ "SERVICE_SPEC" ]The type or classification of the characteristic value object reference. Valid values are SERVICE_SPEC.
objectCustomProfileSpecRel-
href: string
The hyperlink reference to the custom profile specification rel.
-
id(required): string
The ID of the custom profile specification rel.
-
relationshipType(required): string
Allowed Values:
[ "AGGREGATION", "MIGRATION", "SUBSTITUTION", "DEPENDENCY", "EXCLUSIVITY", "PARENT", "CONDITION", "EXCLUDES", "REQUIRES", "ALLOWED" ]The type or classification of the custom profile specification rel. Valid values are AGGREGATION, MIGRATION, SUBSTITUTION, DEPENDENCY, EXCLUSIVITY, PARENT, CONDITION, EXCLUDES, REQUIRES, and ALLOWED. -
validFor: object
TimePeriodOracle
Title:
TimePeriodOracleThe validity period of the related party. -
versionState: number
The version state of the reference.
objectTimePeriodOracle-
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.
objectRelatedParty-
@baseType: string
The base type of the related party reference or party role reference.
-
@schemaLocation: string
A URI to a JSON-Schema file that defines additional attributes and relationships.
-
@type(required): string
The class type of the related party reference or party role reference.
-
partyOrPartyRole(required):
partyOrPartyRole
A list of party or party roles associated with the related party reference or party role reference.
-
role: string
The role played by the related party or party role in the context of the specific entity it is linked to. Such as 'initiator', 'customer', 'salesAgent', 'user'.
arrayobjectTargetProductSchema-
@schemaLocation(required): string
The URI of the schema that defines the target product schema.
-
@type(required): string
The class type of the target product schema.
object-
subType: string
The type or classification of the target product schema.
400 Response
array-
Array of:
object Discriminator: @type
Discriminator:
{ "propertyName":"@type", "mapping":{ "Error":"#/components/schemas/Error", "BulkError":"#/components/schemas/BulkError" } }
401 Response
objectError-
@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
objectError-
@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
objectError-
@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
objectError-
@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 create or update an array of custom profile specification by submitting a PUT request on the REST resource using cURL.
cURL Command
curl -u username:password -X PUT \
'https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/customProfileSpecifications' -H 'Content-Type: application/json' -D @put_customprofilespec.json | json_pp
Example of Request Body
The following shows an example of the request body in JSON format.
[
{
"id": "CustomProfileSpec_001",
"name": "CustomProfileSpec_001",
"description": "Custom profile Spec desc",
"href": "https: //{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/Oracle_59DGQJAK",
"version": "1.0",
"lifecycleStatus": "In design",
"@type": "CustomProfileSpecificationOracle",
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project"
},
"customProfileSpecChar": [
{
"name": "DeviceType",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Mobile"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Tablet"
}
]
},
{
"name": "Family",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "123a"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Note"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Galaxy"
}
]
},
{
"name": "Make",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Apple"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Samsung"
}
]
}
],
"profileType": "TRADE_IN"
},
{
"id": "CustomProfileSpec_002",
"name": "CustomProfileSpec_002",
"description": "Custom profile Spec desc",
"href": "https: //{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogReferenceManagement/v1/customProfileSpecification/Oracle_59DGQJAK",
"version": "1.0",
"lifecycleStatus": "In design",
"@type": "CustomProfileSpecificationOracle",
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project"
},
"customProfileSpecChar": [
{
"name": "DeviceType",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Mobile"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Tablet"
}
]
},
{
"name": "Family",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime":"2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime":"2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "123a"
},
{
"isDefault": false,
"validFor": {
"startDateTime":"2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Note"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Galaxy"
}
]
},
{
"name": "Make",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Apple"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Samsung"
}
]
}
],
"profileType": "TRADE_IN"
}
]
Example of Response Body
The following shows an example of the response body in JSON format.
[
{
"id": "CustomProfileSpec_001",
"name": "CustomProfileSpec_001",
"description": "Custom profile Spec desc",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/customProfileSpecifications/CustomProfileSpec_001",
"version": "1.0",
"lifecycleStatus": "In design",
"@type": "CustomProfileSpecificationOracle",
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/BulkDocProject"
},
"customProfileSpecChar": [
{
"name": "DeviceType",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Mobile"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Tablet"
}
]
},
{
"name": "Family",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "123a"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Note"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Galaxy"
}
]
},
{
"name": "Make",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Apple"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Samsung"
}
]
}
],
"profileType": "TRADE_IN"
},
{
"id": "CustomProfileSpec_002",
"name": "CustomProfileSpec_002",
"description": "Custom profile Spec desc",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/customProfileSpecifications/CustomProfileSpec_002",
"version": "1.0",
"lifecycleStatus": "In design",
"@type": "CustomProfileSpecificationOracle",
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"project": {
"id": "BulkDocProject",
"name": "Bulk Doc Project",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/tmf-api/productCatalogManagement/v4/project/BulkDocProject"
},
"customProfileSpecChar": [
{
"name": "DeviceType",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Mobile"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Tablet"
}
]
},
{
"name": "Family",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "123a"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Note"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Galaxy"
}
]
},
{
"name": "Make",
"valueType": "STRING",
"configurable": true,
"minCardinality": 0,
"maxCardinality": 1,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"customProfileSpecCharValue": [
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Apple"
},
{
"isDefault": false,
"validFor": {
"startDateTime": "2020-09-29T03:50:48.000Z"
},
"valueType": "STRING",
"value": "Samsung"
}
]
}
],
"profileType": "TRADE_IN"
}
]