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": "0c963023-c55a-4ee8-ae28-10b4f2993a95",
"SegmentCategoryId": "9a0bcb87-ac2a-4ecb-b060-fb2b88a0dcdd",
"DefaultSelectedSegmentIds": [
"81d5d096-1b6d-434c-9465-60386c020d9f",
"fc144928-d532-432c-82e0-ee75868b0328"
]
}
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>81d5d096-1b6d-434c-9465-60386c020d9f</d2p1:guid>
<d2p1:guid>fc144928-d532-432c-82e0-ee75868b0328</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>0c963023-c55a-4ee8-ae28-10b4f2993a95</OrgId>
<SegmentCategoryId>9a0bcb87-ac2a-4ecb-b060-fb2b88a0dcdd</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": "e18a13bc-96de-4def-b956-987585e2d4a7",
"SegmentCategoryId": "82af8d0f-d734-40f8-9739-fd0f7beed00e",
"SelectedSegments": [
"14fdbdd6-4d7b-4db7-8241-ad3782c66014",
"6b663a1f-51dc-4107-8b1d-98489a6874d3"
],
"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>e18a13bc-96de-4def-b956-987585e2d4a7</OrgId>
<SegmentCategoryId>82af8d0f-d734-40f8-9739-fd0f7beed00e</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>14fdbdd6-4d7b-4db7-8241-ad3782c66014</d2p1:guid>
<d2p1:guid>6b663a1f-51dc-4107-8b1d-98489a6874d3</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>