POST api/Segment/GetSelectedSegmentsForMember
Request Information
URI Parameters
None.
Body Parameters
SegmentListRequestModelName | Description | Type | Additional information |
---|---|---|---|
MemberId | string |
None. |
|
OrgId | globally unique identifier |
None. |
|
SegmentCategoryId | globally unique identifier |
None. |
|
DefaultSelectedSegmentIds | Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{ "MemberId": "sample string 1", "OrgId": "1669c176-2e92-4e17-a21b-9f6ff2e860c7", "SegmentCategoryId": "2ebe0035-60c6-44e8-9e34-1e2469891017", "DefaultSelectedSegmentIds": [ "408c9f4d-b490-4447-b78e-4fcd5482e962", "3ef17055-7828-4bf8-9924-b2c670eb4683" ] }
application/xml, text/xml
Sample:
<SegmentListRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Request"> <DefaultSelectedSegmentIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>408c9f4d-b490-4447-b78e-4fcd5482e962</d2p1:guid> <d2p1:guid>3ef17055-7828-4bf8-9924-b2c670eb4683</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>1669c176-2e92-4e17-a21b-9f6ff2e860c7</OrgId> <SegmentCategoryId>2ebe0035-60c6-44e8-9e34-1e2469891017</SegmentCategoryId> </SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SelectedSegmentsResponseModelName | Description | Type | Additional information |
---|---|---|---|
MemberId | string |
None. |
|
OrgId | globally unique identifier |
None. |
|
SegmentCategoryId | globally unique identifier |
None. |
|
SelectedSegments | Collection of globally unique identifier |
None. |
|
Result | ResponseResult |
None. |
Response Formats
application/json, text/json
Sample:
{ "MemberId": "sample string 1", "OrgId": "7bc6953f-e274-4fc7-91e0-4f9e255c77a6", "SegmentCategoryId": "d3c16d53-e249-4e5e-9bd4-d9e217ce5ca3", "SelectedSegments": [ "2634e050-319c-4fbc-9631-4e31146c6f61", "e6ae743d-57f0-4e2c-90ef-f4afc2af64df" ], "Result": { "Success": true, "Message": "sample string 2", "Errors": [ { "Message": "sample string 1" }, { "Message": "sample string 1" } ] } }
application/xml, text/xml
Sample:
<SelectedSegmentsResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bond.Core.API.Models.Response"> <Result> <Errors> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> <ErrorMessage> <Message>sample string 1</Message> </ErrorMessage> </Errors> <Message>sample string 2</Message> <Success>true</Success> </Result> <MemberId>sample string 1</MemberId> <OrgId>7bc6953f-e274-4fc7-91e0-4f9e255c77a6</OrgId> <SegmentCategoryId>d3c16d53-e249-4e5e-9bd4-d9e217ce5ca3</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>2634e050-319c-4fbc-9631-4e31146c6f61</d2p1:guid> <d2p1:guid>e6ae743d-57f0-4e2c-90ef-f4afc2af64df</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>