Add New Segment
post
/api/1.0/segment
This endpoint is used to add a new Segment.
Request
Supported Media Types
- application/json
- application/xml
Header Parameters
-
appId: string
The application ID of host service.
-
branchCode: string
The branch code of requesting branch.
-
contentType(optional): string
The content type of request or response body.
-
userId: string
The user ID of requesting user.
Request Body that contains data required for creating a new Segment.
Nested Schema : DmTmStrategyDTO
Type:
Show Source
object
-
callDetails(optional):
string
Call Details
-
enabledFlag(optional):
string
Enabled Flag
-
strategyCode(optional):
string
Strategy Code
-
userAssignmentCode(optional):
string
User Assignment Code
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of success or failure
Headers
-
Location: string
URL of newly created Segment
Nested Schema : ResponseResourceSupport
Type:
object
Nested Schema : items
Type:
object
400 Response
Malformed syntax.
401 Response
Request does not have sufficient credentials.
403 Response
Request is not authorized.
405 Response
Invalid input
500 Response
Internal error