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": "5f88ef51-1e61-47ba-b77f-ca9695b9c57a",
"SegmentCategoryId": "ef2e4d2d-36d5-4588-9f7e-d24025ab0848",
"DefaultSelectedSegmentIds": [
"7452fd83-a604-4bdd-8a67-d919f7d9dca2",
"e168cad3-41a7-4e30-81c5-93269a359195"
]
}
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>7452fd83-a604-4bdd-8a67-d919f7d9dca2</d2p1:guid>
<d2p1:guid>e168cad3-41a7-4e30-81c5-93269a359195</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>5f88ef51-1e61-47ba-b77f-ca9695b9c57a</OrgId>
<SegmentCategoryId>ef2e4d2d-36d5-4588-9f7e-d24025ab0848</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": "b827837f-9b57-4c19-bef2-b1eb626ac9c5",
"SegmentCategoryId": "d2affe17-b93c-496d-823e-2a6e80acce2a",
"SelectedSegments": [
"6a974726-631d-4cda-a8c4-9b3cf5124930",
"188f3787-73d4-4bcb-9177-117f4a217116"
],
"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>b827837f-9b57-4c19-bef2-b1eb626ac9c5</OrgId>
<SegmentCategoryId>d2affe17-b93c-496d-823e-2a6e80acce2a</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6a974726-631d-4cda-a8c4-9b3cf5124930</d2p1:guid>
<d2p1:guid>188f3787-73d4-4bcb-9177-117f4a217116</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>