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": "5d064a33-9663-4966-9fba-c2716383a06e",
"SegmentCategoryId": "2106cb6e-8266-4a31-9cd6-d7341c109dba",
"DefaultSelectedSegmentIds": [
"43ba7032-4c1a-4b7e-bf5e-430f9dba8c13",
"9b106760-08f7-4164-9e7d-8fd69f385699"
]
}
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>43ba7032-4c1a-4b7e-bf5e-430f9dba8c13</d2p1:guid>
<d2p1:guid>9b106760-08f7-4164-9e7d-8fd69f385699</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>5d064a33-9663-4966-9fba-c2716383a06e</OrgId>
<SegmentCategoryId>2106cb6e-8266-4a31-9cd6-d7341c109dba</SegmentCategoryId>
</SegmentListRequestModel>
application/x-www-form-urlencoded
Sample:
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": "f4f07dc4-4893-474e-81c4-9cb08e7d09e7",
"SegmentCategoryId": "f85e48db-5a17-4e3a-ab4b-fcf8de0c0e8a",
"SelectedSegments": [
"14bce5bc-7d60-4c24-b21d-559d47b271d3",
"7c5cfd7d-8014-44c3-b02d-37b91d5b45ff"
],
"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>f4f07dc4-4893-474e-81c4-9cb08e7d09e7</OrgId>
<SegmentCategoryId>f85e48db-5a17-4e3a-ab4b-fcf8de0c0e8a</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>14bce5bc-7d60-4c24-b21d-559d47b271d3</d2p1:guid>
<d2p1:guid>7c5cfd7d-8014-44c3-b02d-37b91d5b45ff</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>