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": "848d1283-e851-464d-84cc-2814701abffd",
"SegmentCategoryId": "3ef15ea7-23af-4d8d-bf75-334acfdd566f",
"DefaultSelectedSegmentIds": [
"d48f6769-ba0f-4bce-ad2c-01c804dcbdf6",
"86961250-a4a9-44fb-abcc-27a01c46f333"
]
}
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>d48f6769-ba0f-4bce-ad2c-01c804dcbdf6</d2p1:guid>
<d2p1:guid>86961250-a4a9-44fb-abcc-27a01c46f333</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>848d1283-e851-464d-84cc-2814701abffd</OrgId>
<SegmentCategoryId>3ef15ea7-23af-4d8d-bf75-334acfdd566f</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": "53d3af15-328c-4d84-a941-2b3d0b8425a8",
"SegmentCategoryId": "b12fb4dd-aeca-4a2e-9294-ab88736ec416",
"SelectedSegments": [
"9de35019-3eb2-4d37-adcb-0e1a583db0e6",
"9a1b22bd-7653-47f3-b4a6-78f0077220b8"
],
"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>53d3af15-328c-4d84-a941-2b3d0b8425a8</OrgId>
<SegmentCategoryId>b12fb4dd-aeca-4a2e-9294-ab88736ec416</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9de35019-3eb2-4d37-adcb-0e1a583db0e6</d2p1:guid>
<d2p1:guid>9a1b22bd-7653-47f3-b4a6-78f0077220b8</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>