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": "e25fc065-df02-4bf2-91f6-798425e3be65", "SegmentCategoryId": "acc2c83c-c550-45e9-b3c3-e56a0e3c1687", "DefaultSelectedSegmentIds": [ "a8118fd6-1005-4ba2-bc26-64e478b9aa97", "4aee8435-e29d-40ef-a454-0bcb20c9f5ce" ] }
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>a8118fd6-1005-4ba2-bc26-64e478b9aa97</d2p1:guid> <d2p1:guid>4aee8435-e29d-40ef-a454-0bcb20c9f5ce</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>e25fc065-df02-4bf2-91f6-798425e3be65</OrgId> <SegmentCategoryId>acc2c83c-c550-45e9-b3c3-e56a0e3c1687</SegmentCategoryId> </SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
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": "40422bd5-66dd-4d5a-8fe4-eb5b657919ae", "SegmentCategoryId": "ef1505d1-d4b3-4247-8daa-4a5fb9553b34", "SelectedSegments": [ "878a98ee-b6d8-493e-842d-f05d218ee7ca", "02007f6f-c7b9-4655-8f11-0edf1a11c760" ], "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>40422bd5-66dd-4d5a-8fe4-eb5b657919ae</OrgId> <SegmentCategoryId>ef1505d1-d4b3-4247-8daa-4a5fb9553b34</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>878a98ee-b6d8-493e-842d-f05d218ee7ca</d2p1:guid> <d2p1:guid>02007f6f-c7b9-4655-8f11-0edf1a11c760</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>