POST api/Segment/GetSelectedSegmentsForOrg
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": "f8e6c1b4-4943-4d80-ae5f-7d1a86af1111", "SegmentCategoryId": "cde0af30-b8fa-4490-8504-5e7dee95a097", "DefaultSelectedSegmentIds": [ "60bd2cd6-0537-4c8f-bfa9-b14f9425aebf", "9efe60be-1357-417a-9a3b-975923a5cf79" ] }
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>60bd2cd6-0537-4c8f-bfa9-b14f9425aebf</d2p1:guid> <d2p1:guid>9efe60be-1357-417a-9a3b-975923a5cf79</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>f8e6c1b4-4943-4d80-ae5f-7d1a86af1111</OrgId> <SegmentCategoryId>cde0af30-b8fa-4490-8504-5e7dee95a097</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": "d7f46786-7919-4727-bda2-2e58d38db7f4", "SegmentCategoryId": "326f796b-0027-400f-8ca5-e32e644a2858", "SelectedSegments": [ "159734a9-df63-42b7-81a8-02a21adba65b", "8dc085da-dfb9-4769-b11e-a3a6c47dc96d" ], "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>d7f46786-7919-4727-bda2-2e58d38db7f4</OrgId> <SegmentCategoryId>326f796b-0027-400f-8ca5-e32e644a2858</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>159734a9-df63-42b7-81a8-02a21adba65b</d2p1:guid> <d2p1:guid>8dc085da-dfb9-4769-b11e-a3a6c47dc96d</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>