Create or update a market segment
put
https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagment/v1/marketSegment/{id}
Request
Path Parameters
-
id(required): string
The unique identifier of the resource item.
Supported Media Types
- application/json
Root Schema : MarketSegmentOracle
Type:
objectTitle:
Show Source
MarketSegmentOracle-
@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.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefProject Reference
Show Source
-
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
Nested Schema : TimePeriod
Type:
objectTitle:
TimePeriodThe period for which the productOffering is valid
Show Source
-
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
Supported Media Types
- application/json
200 Response
OK
Root Schema : MarketSegmentOracle
Type:
objectTitle:
Show Source
MarketSegmentOracle-
@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.
Nested Schema : ProjectRef
Type:
objectTitle:
ProjectRefProject Reference
Show Source
-
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
Nested Schema : TimePeriod
Type:
objectTitle:
TimePeriodThe period for which the productOffering is valid
Show Source
-
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
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:
Show Source
Error-
@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
401 Response
Your request isn't authorized. The authentication credentials included with this request are missing or invalid.
Root Schema : Error
Type:
objectTitle:
Show Source
Error-
@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
Your request includes a resource URI that doesn't exist.
Root Schema : Error
Type:
objectTitle:
Show Source
Error-
@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
HTTP action specified in the request (DELETE, GET, POST, PUT) isn't supported for this request URI.
Root Schema : Error
Type:
objectTitle:
Show Source
Error-
@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
The server encountered something unexpected that prevented it from completing the request.
Root Schema : Error
Type:
objectTitle:
Show Source
Error-
@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 a market segment 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_ppExample of Request Body
The following shows the contents of the request body in JSON format.
{
"id": "MS-3109730864",
"name": "Students",
"description": "Students Segment",
"@type": "PlaceOracle",
"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 the contents of the response body in JSON format.
{
"id": "MS-3109730864",
"href": "https://{FusionAppsHost}/crmRestApi/atcProductCatalog/11.13.18.05/productCatalogManagement/v1/marketSegment/MS-3109730864",
"name": "Students",
"description": "Students 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
}