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": "43a33efe-2c3c-4af1-8be5-a4de2ebafaa0", "SegmentCategoryId": "80d9a887-1eb3-431f-b5f6-449b9cbe65b1", "DefaultSelectedSegmentIds": [ "c651a6fe-09d4-406f-8561-3ec342ca8860", "b72ae91c-b79e-4f12-8929-2269b147efca" ] }
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>c651a6fe-09d4-406f-8561-3ec342ca8860</d2p1:guid> <d2p1:guid>b72ae91c-b79e-4f12-8929-2269b147efca</d2p1:guid> </DefaultSelectedSegmentIds> <MemberId>sample string 1</MemberId> <OrgId>43a33efe-2c3c-4af1-8be5-a4de2ebafaa0</OrgId> <SegmentCategoryId>80d9a887-1eb3-431f-b5f6-449b9cbe65b1</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": "6e35700d-7a94-4018-857a-f1143af55e29", "SegmentCategoryId": "54376ec7-cc02-41e5-8fc8-b153e36367d3", "SelectedSegments": [ "3f51a6de-f22e-488c-a421-7c4ad2f2e2ac", "ce0f8475-1431-4615-bb5c-bdf9d37c93a4" ], "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>6e35700d-7a94-4018-857a-f1143af55e29</OrgId> <SegmentCategoryId>54376ec7-cc02-41e5-8fc8-b153e36367d3</SegmentCategoryId> <SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:guid>3f51a6de-f22e-488c-a421-7c4ad2f2e2ac</d2p1:guid> <d2p1:guid>ce0f8475-1431-4615-bb5c-bdf9d37c93a4</d2p1:guid> </SelectedSegments> </SelectedSegmentsResponseModel>