POST api/Segment/GetSelectedSegmentsForOrg
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": "872e7335-43fc-4003-b0f8-31453f54a714",
"SegmentCategoryId": "c62adb8c-a03b-4184-9a99-73fdf8f2a31d",
"DefaultSelectedSegmentIds": [
"f975b112-76a7-472c-9479-fbb679de7bf0",
"3aeb0324-17b7-4ad1-b202-0ea6bc401527"
]
}
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>f975b112-76a7-472c-9479-fbb679de7bf0</d2p1:guid>
<d2p1:guid>3aeb0324-17b7-4ad1-b202-0ea6bc401527</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>872e7335-43fc-4003-b0f8-31453f54a714</OrgId>
<SegmentCategoryId>c62adb8c-a03b-4184-9a99-73fdf8f2a31d</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": "57e4ab7e-6261-4ad9-9eb9-7e4c84197fa3",
"SegmentCategoryId": "9a32b6d6-aa8d-4ad6-b6b4-3c81176bbb60",
"SelectedSegments": [
"9a345031-c7bc-46f4-8afe-fafc6bb8828d",
"8c9d649c-3dce-4c33-925c-fac6c55ccda9"
],
"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>57e4ab7e-6261-4ad9-9eb9-7e4c84197fa3</OrgId>
<SegmentCategoryId>9a32b6d6-aa8d-4ad6-b6b4-3c81176bbb60</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>9a345031-c7bc-46f4-8afe-fafc6bb8828d</d2p1:guid>
<d2p1:guid>8c9d649c-3dce-4c33-925c-fac6c55ccda9</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>