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": "cbdbc761-2d65-4ae3-8527-99bb7989b72d",
"SegmentCategoryId": "7da58920-8791-48e4-ad3a-3173f54e8201",
"DefaultSelectedSegmentIds": [
"83064a09-51b9-4797-818d-4efc101eb920",
"bed50b89-20c0-4d8b-90af-eb0266834fab"
]
}
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>83064a09-51b9-4797-818d-4efc101eb920</d2p1:guid>
<d2p1:guid>bed50b89-20c0-4d8b-90af-eb0266834fab</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>cbdbc761-2d65-4ae3-8527-99bb7989b72d</OrgId>
<SegmentCategoryId>7da58920-8791-48e4-ad3a-3173f54e8201</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": "3be39f74-7523-4d7f-b2db-c8b9ab8a497f",
"SegmentCategoryId": "197de367-b195-439f-8f7c-94f5d1bd6ec4",
"SelectedSegments": [
"503ce350-4e4f-4e4f-b223-7a98191239b2",
"9d2f3803-f2f6-42b0-8d05-e6f233db0f21"
],
"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>3be39f74-7523-4d7f-b2db-c8b9ab8a497f</OrgId>
<SegmentCategoryId>197de367-b195-439f-8f7c-94f5d1bd6ec4</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>503ce350-4e4f-4e4f-b223-7a98191239b2</d2p1:guid>
<d2p1:guid>9d2f3803-f2f6-42b0-8d05-e6f233db0f21</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>