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": "973cb9e5-50f3-49b3-a6a4-7b02481e53aa", "SegmentCategoryId": "575a3f05-2c34-4058-b4c3-75525f8355a4", "DefaultSelectedSegmentIds": [ "2e309695-28c3-4694-a409-74f4def04352", "64289b46-cf53-498b-a0e8-e1a179302948" ] }
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>2e309695-28c3-4694-a409-74f4def04352</d2p1:guid> <d2p1:guid>64289b46-cf53-498b-a0e8-e1a179302948</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>973cb9e5-50f3-49b3-a6a4-7b02481e53aa</OrgId> <SegmentCategoryId>575a3f05-2c34-4058-b4c3-75525f8355a4</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": "10b7ceec-7ef0-4be2-a8c1-3da5e32daa16", "SegmentCategoryId": "2532471a-c2b2-4826-bdcb-768ccdd28900", "SelectedSegments": [ "eefcbba8-d60f-4977-ba56-40aab8066801", "720a1d32-a6be-4670-b701-6be901d1ad66" ], "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>10b7ceec-7ef0-4be2-a8c1-3da5e32daa16</OrgId> <SegmentCategoryId>2532471a-c2b2-4826-bdcb-768ccdd28900</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>eefcbba8-d60f-4977-ba56-40aab8066801</d2p1:guid> <d2p1:guid>720a1d32-a6be-4670-b701-6be901d1ad66</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>