Creates a workspace segment.
post
/primeapi/restapi/v16.2/segment/workspace/{id}
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
integer(int64)Required:true
Body Parameter
Create a Workspace Segment.
Root Schema : ApiEntityCBSTemplateSegment
Type:
object- copiedFrom
-
Type:
integer(int64)Required:trueThe unique identifier for the original CBS segment. - segmentDefaultValue
-
Type:
stringRequired:trueA value that is added to the concatenated code by default. This is not a required field. - segmentDefinitionName
-
Type:
stringRequired:trueThe name of the CBS segment. - segmentId
-
Type:
integer(int64)Required:trueThe unique identifier for the CBS segment. - segmentSeparator
-
Type:
stringRequired:trueThe separator determines how the concatenated code is separated. The separator can be a period, space, or hyphen. - templateId
-
Type:
integer(int64)Required:trueThe unique identifier for the CBS template.
Response
Supported Media Types
- application/json
200 Response
successful operation
Body
Root Schema : ApiEntityCBSTemplateSegment
Type:
object- copiedFrom
-
Type:
integer(int64)Required:trueThe unique identifier for the original CBS segment. - segmentDefaultValue
-
Type:
stringRequired:trueA value that is added to the concatenated code by default. This is not a required field. - segmentDefinitionName
-
Type:
stringRequired:trueThe name of the CBS segment. - segmentId
-
Type:
integer(int64)Required:trueThe unique identifier for the CBS segment. - segmentSeparator
-
Type:
stringRequired:trueThe separator determines how the concatenated code is separated. The separator can be a period, space, or hyphen. - templateId
-
Type:
integer(int64)Required:trueThe unique identifier for the CBS template.