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": "7a06d84c-9e08-47d7-9b2e-9a3a0a682bbb",
"SegmentCategoryId": "d4a40582-a0d3-4953-af3b-194b6b65b75d",
"DefaultSelectedSegmentIds": [
"95e1e71e-ebb9-41ed-814c-b8426b6ac12a",
"380f6098-d135-4f2e-8f72-0551cdbbf613"
]
}
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>95e1e71e-ebb9-41ed-814c-b8426b6ac12a</d2p1:guid>
<d2p1:guid>380f6098-d135-4f2e-8f72-0551cdbbf613</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>7a06d84c-9e08-47d7-9b2e-9a3a0a682bbb</OrgId>
<SegmentCategoryId>d4a40582-a0d3-4953-af3b-194b6b65b75d</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": "6965d62c-05d1-430b-ab95-aa0c181f9e28",
"SegmentCategoryId": "037cea39-745c-4717-b59e-c03cffef798e",
"SelectedSegments": [
"13dcd107-57ca-44bf-afc2-72c4fd2388fa",
"d1d7ef6c-1270-4e34-8d2e-6ba0507de68d"
],
"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>6965d62c-05d1-430b-ab95-aa0c181f9e28</OrgId>
<SegmentCategoryId>037cea39-745c-4717-b59e-c03cffef798e</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>13dcd107-57ca-44bf-afc2-72c4fd2388fa</d2p1:guid>
<d2p1:guid>d1d7ef6c-1270-4e34-8d2e-6ba0507de68d</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>