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": "7cd34ed1-5362-4e1c-a2df-3dd7cd50ac53",
"SegmentCategoryId": "2feeaf11-6acd-449c-8ee1-74f8b586e258",
"DefaultSelectedSegmentIds": [
"8ddab2c5-e26d-4ba3-9bfc-e426aaf7dafb",
"1260d32c-6c05-42b6-87a8-665521ad5deb"
]
}
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>8ddab2c5-e26d-4ba3-9bfc-e426aaf7dafb</d2p1:guid>
<d2p1:guid>1260d32c-6c05-42b6-87a8-665521ad5deb</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>7cd34ed1-5362-4e1c-a2df-3dd7cd50ac53</OrgId>
<SegmentCategoryId>2feeaf11-6acd-449c-8ee1-74f8b586e258</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": "8e1c3e40-c815-49bd-9af5-3549d554368e",
"SegmentCategoryId": "283f899f-11b5-4306-80c8-2dd0346145b0",
"SelectedSegments": [
"f1a85378-1a4d-4200-9f46-7a94b833ce89",
"a3340794-d1b2-4683-a13e-62246a35f21b"
],
"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>8e1c3e40-c815-49bd-9af5-3549d554368e</OrgId>
<SegmentCategoryId>283f899f-11b5-4306-80c8-2dd0346145b0</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>f1a85378-1a4d-4200-9f46-7a94b833ce89</d2p1:guid>
<d2p1:guid>a3340794-d1b2-4683-a13e-62246a35f21b</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>