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": "5ab71c49-36be-4456-aebd-8d3a07e4f955",
"SegmentCategoryId": "05963f28-a5d6-4fff-8668-cd7831e424eb",
"DefaultSelectedSegmentIds": [
"a9fc4718-83c2-435f-84e7-8943a8796d2a",
"f70932a4-2cc7-4557-b292-f2438253cc3b"
]
}
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>a9fc4718-83c2-435f-84e7-8943a8796d2a</d2p1:guid>
<d2p1:guid>f70932a4-2cc7-4557-b292-f2438253cc3b</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>5ab71c49-36be-4456-aebd-8d3a07e4f955</OrgId>
<SegmentCategoryId>05963f28-a5d6-4fff-8668-cd7831e424eb</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": "f673d53d-27db-4424-a8ce-e59cd6f670e1",
"SegmentCategoryId": "31d42c8b-3f37-47e6-9006-3e463fed5266",
"SelectedSegments": [
"6db0e7f7-d61b-47b3-9ec5-b11e85eb8a78",
"2ceca0e3-7d98-4af1-9b85-8e083849b7fd"
],
"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>f673d53d-27db-4424-a8ce-e59cd6f670e1</OrgId>
<SegmentCategoryId>31d42c8b-3f37-47e6-9006-3e463fed5266</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>6db0e7f7-d61b-47b3-9ec5-b11e85eb8a78</d2p1:guid>
<d2p1:guid>2ceca0e3-7d98-4af1-9b85-8e083849b7fd</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>