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": "63797642-68ba-43f9-b295-0f6c35873e37",
"SegmentCategoryId": "87ecf826-6847-4340-8417-3895b3aa610e",
"DefaultSelectedSegmentIds": [
"5e6e8946-0da4-4f80-89b8-34c31fb30bdb",
"1a159ed0-7382-4fd4-9103-955d30329811"
]
}
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>5e6e8946-0da4-4f80-89b8-34c31fb30bdb</d2p1:guid>
<d2p1:guid>1a159ed0-7382-4fd4-9103-955d30329811</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>63797642-68ba-43f9-b295-0f6c35873e37</OrgId>
<SegmentCategoryId>87ecf826-6847-4340-8417-3895b3aa610e</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": "8db6dedb-4e8a-42e1-83d6-98850b8a7708",
"SegmentCategoryId": "ef6818b2-bacd-4234-8697-d460d26b7e69",
"SelectedSegments": [
"44fe5523-6d8f-4cbc-b5d5-ca4ef7371c8f",
"5dffa92a-ec6c-40cb-bf0c-568c5aad5ac1"
],
"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>8db6dedb-4e8a-42e1-83d6-98850b8a7708</OrgId>
<SegmentCategoryId>ef6818b2-bacd-4234-8697-d460d26b7e69</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>44fe5523-6d8f-4cbc-b5d5-ca4ef7371c8f</d2p1:guid>
<d2p1:guid>5dffa92a-ec6c-40cb-bf0c-568c5aad5ac1</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>