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": "5bc76771-8b9a-4762-8985-3a7d80282e7e",
"SegmentCategoryId": "b2125807-0885-4c9b-9bed-8c1295034acb",
"DefaultSelectedSegmentIds": [
"1a99377c-fc29-4ffc-b3ca-61c6e3c54746",
"a28b97dd-3c2d-4f92-b2ba-532a2be7061d"
]
}
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>1a99377c-fc29-4ffc-b3ca-61c6e3c54746</d2p1:guid>
<d2p1:guid>a28b97dd-3c2d-4f92-b2ba-532a2be7061d</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>5bc76771-8b9a-4762-8985-3a7d80282e7e</OrgId>
<SegmentCategoryId>b2125807-0885-4c9b-9bed-8c1295034acb</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": "390836e0-c2cb-4910-a5d6-9761e4517a71",
"SegmentCategoryId": "f7e2338b-9619-4688-af73-817f4f9c3304",
"SelectedSegments": [
"18bd056e-a4a3-4e83-a6db-e4b056b8b082",
"09fea721-fed1-4970-a42e-556b6b14cc63"
],
"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>390836e0-c2cb-4910-a5d6-9761e4517a71</OrgId>
<SegmentCategoryId>f7e2338b-9619-4688-af73-817f4f9c3304</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>18bd056e-a4a3-4e83-a6db-e4b056b8b082</d2p1:guid>
<d2p1:guid>09fea721-fed1-4970-a42e-556b6b14cc63</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>