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": "dba5855f-94a8-4d65-8a65-b5394cef4bcb",
"SegmentCategoryId": "c711669b-0a4f-484f-b8c6-318ad876a70a",
"DefaultSelectedSegmentIds": [
"88f6554a-b31e-40f6-bab9-30ab65277552",
"6c15728a-be35-4b7d-bd09-7aeeb6166ca5"
]
}
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>88f6554a-b31e-40f6-bab9-30ab65277552</d2p1:guid>
<d2p1:guid>6c15728a-be35-4b7d-bd09-7aeeb6166ca5</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>dba5855f-94a8-4d65-8a65-b5394cef4bcb</OrgId>
<SegmentCategoryId>c711669b-0a4f-484f-b8c6-318ad876a70a</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": "42690d13-c39f-4b13-a80e-7d1ac4683e3c",
"SegmentCategoryId": "1d85301d-c975-41e1-8b70-4a1ea20ead1d",
"SelectedSegments": [
"c452fb02-2d8c-4646-9ba1-79ee3366fea5",
"a914d8b0-a8b7-4e7d-8723-76448a8c5d27"
],
"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>42690d13-c39f-4b13-a80e-7d1ac4683e3c</OrgId>
<SegmentCategoryId>1d85301d-c975-41e1-8b70-4a1ea20ead1d</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>c452fb02-2d8c-4646-9ba1-79ee3366fea5</d2p1:guid>
<d2p1:guid>a914d8b0-a8b7-4e7d-8723-76448a8c5d27</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>