POST api/Segment/GetSelectedSegmentsForOrg
Request Information
URI Parameters
None.
Body Parameters
SegmentListRequestModel| Name | 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": "aa24ab90-0f7b-47ac-ac89-9717f182d603",
"SegmentCategoryId": "1764986b-b7a7-484e-8a7d-8f7b1fc65517",
"DefaultSelectedSegmentIds": [
"f58fe3d6-0f0b-4104-a009-6009d21f3543",
"91e94bf2-cc9d-42fe-baf1-63d3445edf96"
]
}
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>f58fe3d6-0f0b-4104-a009-6009d21f3543</d2p1:guid>
<d2p1:guid>91e94bf2-cc9d-42fe-baf1-63d3445edf96</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>aa24ab90-0f7b-47ac-ac89-9717f182d603</OrgId>
<SegmentCategoryId>1764986b-b7a7-484e-8a7d-8f7b1fc65517</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SelectedSegmentsResponseModel| Name | 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": "208842ac-ff8e-42f4-a1eb-ae95867db234",
"SegmentCategoryId": "b643752a-f03f-4f6c-b4d8-6e8ce2b51f69",
"SelectedSegments": [
"d2b57338-ad5a-438c-9c98-df1e8f0488e0",
"8f2288ad-8a02-4f98-a4bf-61666755568e"
],
"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>208842ac-ff8e-42f4-a1eb-ae95867db234</OrgId>
<SegmentCategoryId>b643752a-f03f-4f6c-b4d8-6e8ce2b51f69</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>d2b57338-ad5a-438c-9c98-df1e8f0488e0</d2p1:guid>
<d2p1:guid>8f2288ad-8a02-4f98-a4bf-61666755568e</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>