POST api/Segment/GetSelectedSegmentsForMember
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": "24de8959-43e5-454d-9c77-430ed5659efb",
"SegmentCategoryId": "4a647a4e-3ec6-4fe6-a75f-d1bf0ce7edd6",
"DefaultSelectedSegmentIds": [
"273e5c7c-0537-4c51-8ce6-944bf92b7473",
"821c6cf4-796a-498f-b38a-b5efa3088662"
]
}
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>273e5c7c-0537-4c51-8ce6-944bf92b7473</d2p1:guid>
<d2p1:guid>821c6cf4-796a-498f-b38a-b5efa3088662</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>24de8959-43e5-454d-9c77-430ed5659efb</OrgId>
<SegmentCategoryId>4a647a4e-3ec6-4fe6-a75f-d1bf0ce7edd6</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": "ff2cd735-73dc-47f7-aace-76d337dc18ae",
"SegmentCategoryId": "13d484fd-2b90-49c6-8e1e-3000303e572d",
"SelectedSegments": [
"fa85885e-ef2d-49d0-8759-0f5fdec5020c",
"68d6010a-eda5-4793-a698-d133dcb81b19"
],
"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>ff2cd735-73dc-47f7-aace-76d337dc18ae</OrgId>
<SegmentCategoryId>13d484fd-2b90-49c6-8e1e-3000303e572d</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>fa85885e-ef2d-49d0-8759-0f5fdec5020c</d2p1:guid>
<d2p1:guid>68d6010a-eda5-4793-a698-d133dcb81b19</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>