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": "5cb326df-da34-4df3-9d5d-b258dc9871cb",
"SegmentCategoryId": "dce19db0-458f-4084-874f-52257f1c87a2",
"DefaultSelectedSegmentIds": [
"bc4a1f26-e9b2-4bfa-a25d-63dd11a0b37e",
"fdee3225-1046-4aab-bb30-9318df4c97b7"
]
}
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>bc4a1f26-e9b2-4bfa-a25d-63dd11a0b37e</d2p1:guid>
<d2p1:guid>fdee3225-1046-4aab-bb30-9318df4c97b7</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>5cb326df-da34-4df3-9d5d-b258dc9871cb</OrgId>
<SegmentCategoryId>dce19db0-458f-4084-874f-52257f1c87a2</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": "200737a4-8214-445e-bd5b-c1505e2c16bb",
"SegmentCategoryId": "07c7b878-f9c3-46c6-b5ea-dc46e2a06567",
"SelectedSegments": [
"e14ebf5c-93d4-4899-8b23-ce70a280a70e",
"479350c8-a727-4273-96c5-9387778099d5"
],
"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>200737a4-8214-445e-bd5b-c1505e2c16bb</OrgId>
<SegmentCategoryId>07c7b878-f9c3-46c6-b5ea-dc46e2a06567</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e14ebf5c-93d4-4899-8b23-ce70a280a70e</d2p1:guid>
<d2p1:guid>479350c8-a727-4273-96c5-9387778099d5</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>