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": "65a7f0f5-61d6-4664-bda0-f31264e05fd2",
"SegmentCategoryId": "35984e3c-33a6-46c5-b2e5-16903e25ad7c",
"DefaultSelectedSegmentIds": [
"71e899db-3adc-4b8d-a90b-e009d850dbb1",
"f5b337e5-4e92-4b5a-82db-2c09f44834f3"
]
}
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>71e899db-3adc-4b8d-a90b-e009d850dbb1</d2p1:guid>
<d2p1:guid>f5b337e5-4e92-4b5a-82db-2c09f44834f3</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>65a7f0f5-61d6-4664-bda0-f31264e05fd2</OrgId>
<SegmentCategoryId>35984e3c-33a6-46c5-b2e5-16903e25ad7c</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": "310ea83b-04fd-496b-91fd-16a44d70aadd",
"SegmentCategoryId": "0f7bbae9-a5c2-4bae-b6eb-d27c388ab908",
"SelectedSegments": [
"a20cf7a2-0fd2-4db5-8f8d-98d0aa43fa18",
"759fec7e-2a1e-4032-a4d0-53a1bf97d156"
],
"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>310ea83b-04fd-496b-91fd-16a44d70aadd</OrgId>
<SegmentCategoryId>0f7bbae9-a5c2-4bae-b6eb-d27c388ab908</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>a20cf7a2-0fd2-4db5-8f8d-98d0aa43fa18</d2p1:guid>
<d2p1:guid>759fec7e-2a1e-4032-a4d0-53a1bf97d156</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>