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": "7ff6d81e-959b-400f-b983-1c617675a85f",
"SegmentCategoryId": "122a6b33-3b45-4958-a758-d644fe06bf8a",
"DefaultSelectedSegmentIds": [
"a78a5bfa-786c-469d-b91d-580b16a433c1",
"5efc52e6-fa58-473a-bcc7-666221bd5995"
]
}
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>a78a5bfa-786c-469d-b91d-580b16a433c1</d2p1:guid>
<d2p1:guid>5efc52e6-fa58-473a-bcc7-666221bd5995</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>7ff6d81e-959b-400f-b983-1c617675a85f</OrgId>
<SegmentCategoryId>122a6b33-3b45-4958-a758-d644fe06bf8a</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
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": "ea91a244-d989-45d1-aafc-3a196bb3fcd9",
"SegmentCategoryId": "af675e49-2f51-4b86-a47d-a65a996a741e",
"SelectedSegments": [
"1477fe35-bec3-456e-9ae9-38ccc4af57cd",
"907b2a65-9ea7-486a-93a7-949e68a3aa5c"
],
"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>ea91a244-d989-45d1-aafc-3a196bb3fcd9</OrgId>
<SegmentCategoryId>af675e49-2f51-4b86-a47d-a65a996a741e</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>1477fe35-bec3-456e-9ae9-38ccc4af57cd</d2p1:guid>
<d2p1:guid>907b2a65-9ea7-486a-93a7-949e68a3aa5c</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>