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": "0912cdc2-77fd-46cf-9058-a635e081a3e1",
"SegmentCategoryId": "e6b2c88b-87a1-48c5-aa0c-6e59fa227394",
"DefaultSelectedSegmentIds": [
"7cf5f6c2-ab93-4caf-826f-36a584b444a1",
"7eaedc85-d9f9-4927-978e-3ce6702ea7a0"
]
}
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>7cf5f6c2-ab93-4caf-826f-36a584b444a1</d2p1:guid>
<d2p1:guid>7eaedc85-d9f9-4927-978e-3ce6702ea7a0</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>0912cdc2-77fd-46cf-9058-a635e081a3e1</OrgId>
<SegmentCategoryId>e6b2c88b-87a1-48c5-aa0c-6e59fa227394</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": "a938e188-df21-4dc7-acbd-720266b3ba42",
"SegmentCategoryId": "6f1ba20a-8c4c-4e62-886c-459a8b832317",
"SelectedSegments": [
"e4ee4a25-925d-4df1-9feb-a41a22863b24",
"5bc4f05d-11b4-4be1-80dc-d0ce11659718"
],
"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>a938e188-df21-4dc7-acbd-720266b3ba42</OrgId>
<SegmentCategoryId>6f1ba20a-8c4c-4e62-886c-459a8b832317</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>e4ee4a25-925d-4df1-9feb-a41a22863b24</d2p1:guid>
<d2p1:guid>5bc4f05d-11b4-4be1-80dc-d0ce11659718</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>