Create or update an array of market segments
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/marketSegments
Request
There are no request parameters for this operation.
- application/json
array150-
Array of:
object MarketSegmentOracle
Title:
MarketSegmentOracle
objectMarketSegmentOracle-
@baseType: string
Immediate base (class) type of the object
-
@schemaLocation: string
A link to the schema describing this object
-
@type(required): string
Indicates the type of resource.
-
applicationName: string
name of the external application
-
created: string
(date-time)
Date and time of the market segment creation.
-
createdBy: string
name of the person who created the market segment.
-
description: string
Description of market segment.
-
externalId: string
id of the external application
-
href: string
Hypertext Reference of the market segment.
-
id: string
Maximum Length:
30Unique identifier of the market segment. -
lastUpdate: string
(date-time)
Latest update date of market segment.
-
lastUpdatedBy: string
name of the person who updated the market segment.
-
lifecycleStatus: string
Lifecycle status of market segment.
-
name(required): string
Name of market segment.
-
project: object
ProjectRef
Title:
ProjectRefProject Reference -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid -
version: string
Market segment version
-
versionState: number
Version state of the market segment.
objectProjectRef-
href: string
Unique reference of the project
-
id(required): string
Unique identifier of the project
-
name: string
Name of the project
-
version: string
Version of the project
objectTimePeriod-
endDateTime: string
(date-time)
An instant of time, ending at the TimePeriod.
-
startDateTime: string
(date-time)
An instant of time, starting at the TimePeriod
Response
- application/json
200 Response
array-
Array of:
object MarketSegmentOracle
Title:
MarketSegmentOracle
objectMarketSegmentOracle-
@baseType: string
Immediate base (class) type of the object
-
@schemaLocation: string
A link to the schema describing this object
-
@type(required): string
Indicates the type of resource.
-
applicationName: string
name of the external application
-
created: string
(date-time)
Date and time of the market segment creation.
-
createdBy: string
name of the person who created the market segment.
-
description: string
Description of market segment.
-
externalId: string
id of the external application
-
href: string
Hypertext Reference of the market segment.
-
id: string
Maximum Length:
30Unique identifier of the market segment. -
lastUpdate: string
(date-time)
Latest update date of market segment.
-
lastUpdatedBy: string
name of the person who updated the market segment.
-
lifecycleStatus: string
Lifecycle status of market segment.
-
name(required): string
Name of market segment.
-
project: object
ProjectRef
Title:
ProjectRefProject Reference -
validFor: object
TimePeriod
Title:
TimePeriodThe period for which the productOffering is valid -
version: string
Market segment version
-
versionState: number
Version state of the market segment.
objectProjectRef-
href: string
Unique reference of the project
-
id(required): string
Unique identifier of the project
-
name: string
Name of the project
-
version: string
Version of the project
objectTimePeriod-
endDateTime: string
(date-time)
An instant of time, ending at the TimePeriod.
-
startDateTime: string
(date-time)
An instant of time, starting at the TimePeriod
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
it provides a link to the schema describing a REST resource.
-
@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
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
404 Response
objectError-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@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
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
405 Response
objectError-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@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
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
500 Response
objectError-
@schemaLocation: string
it provides a link to the schema describing a REST resource.
-
@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
Text that provide more details and corrective actions related to the error. This can be shown to a client user.
-
reason(required): string
Text that explains the reason for error. This can be shown to a client user.
-
referenceError: string
url pointing to documentation describing the error
-
status: string
http error code extension like 400-2
Examples
The following example shows how to create or update an array of market segments 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/marketSegment
-H 'Content-Type: application/json' -D @put_marketsegment.json |
json_pp
Example of Request Body
The following shows an example of the request body in JSON format.
[
{
"id": "MS-3109730862",
"name": "ARPU",
"description": "ARPU Segment",
"@type": "MarketSegmentOracle",
"validFor": {
"startDateTime": "2025-09-12T00:00:00.000Z",
"endDateTime": "2025-10-09T00:00:00.000Z"
},
"project": {
"id": "P-2341675923-1758270057151",
"name": "Retire Init3",
"@type": "ProjectRef",
"@referredType": "ProjectOracle"
},
"version": "1.0",
"lifecycleStatus": "In design"
},
{
"id": "MS-3109730863",
"name": "AMPU",
"description": "AMPU Segment",
"@type": "MarketSegmentOracle",
"validFor": {
"startDateTime": "2025-09-12T00:00:00.000Z",
"endDateTime": "2025-10-09T00:00:00.000Z"
},
"project": {
"id": "P-2341675923-1758270057151",
"name": "Retire Init3",
"@type": "ProjectRef",
"@referredType": "ProjectOracle"
},
"version": "1.0",
"lifecycleStatus": "In design"
}
]
Example of Response Body
The following shows an example of the response body in JSON format.
[
{
"id": "MS-3109730862",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/marketSegment/MS-3109730862",
"name": "ARPU",
"description": "ARPU Segment",
"lifecycleStatus": "In design",
"lastUpdate": "2025-10-23T08:09:44.080Z",
"validFor": {
"startDateTime": "2025-09-12T00:00:00.000Z",
"endDateTime": "2025-10-09T00:00:00.000Z"
},
"version": "1.0",
"@type": "MarketSegmentOracle",
"project": {
"id": "P-2341675923-1758270057151",
"name": "Retire Init3",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-2341675923-1758270057151",
"version": "1.0",
"@referredType": "ProjectOracle",
"@type": "ProjectRef"
},
"lastUpdatedBy": "booth",
"created": "2025-10-23T08:09:44.000Z",
"createdBy": "booth",
"versionState": 0
},
{
"id": "MS-3109730863",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/marketSegment/MS-3109730863",
"name": "AMPU",
"description": "AMPU Segment",
"lifecycleStatus": "In design",
"lastUpdate": "2025-10-23T08:09:44.080Z",
"validFor": {
"startDateTime": "2025-09-12T00:00:00.000Z",
"endDateTime": "2025-10-09T00:00:00.000Z"
},
"version": "1.0",
"@type": "MarketSegmentOracle",
"project": {
"id": "P-2341675923-1758270057151",
"name": "Retire Init3",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/project/P-2341675923-1758270057151",
"version": "1.0",
"@referredType": "ProjectOracle",
"@type": "ProjectRef"
},
"lastUpdatedBy": "booth",
"created": "2025-10-23T08:09:44.000Z",
"createdBy": "booth",
"versionState": 0
}