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": "cd41e451-6d0d-4865-8dec-5b1005249dfb",
"SegmentCategoryId": "bfa5f7d9-7c93-472c-a159-2c4227ddca40",
"DefaultSelectedSegmentIds": [
"8c6a56e0-367c-40c5-8558-b8eeda76868b",
"3399ccd6-4d9c-47a5-b123-4c53716ee5a7"
]
}
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>8c6a56e0-367c-40c5-8558-b8eeda76868b</d2p1:guid>
<d2p1:guid>3399ccd6-4d9c-47a5-b123-4c53716ee5a7</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>cd41e451-6d0d-4865-8dec-5b1005249dfb</OrgId>
<SegmentCategoryId>bfa5f7d9-7c93-472c-a159-2c4227ddca40</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
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": "09ea9bd1-c71a-42f9-9fad-868951986655",
"SegmentCategoryId": "33589fb1-a7ce-4cf4-b700-981822f78202",
"SelectedSegments": [
"464db333-baeb-41a8-82e2-08b5c5af3a3d",
"1a43e288-d272-4e39-87bd-afcc7c089d44"
],
"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>09ea9bd1-c71a-42f9-9fad-868951986655</OrgId>
<SegmentCategoryId>33589fb1-a7ce-4cf4-b700-981822f78202</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>464db333-baeb-41a8-82e2-08b5c5af3a3d</d2p1:guid>
<d2p1:guid>1a43e288-d272-4e39-87bd-afcc7c089d44</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>