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": "43e3c385-f878-49bb-b9c7-d1b105602887",
"SegmentCategoryId": "db99a8af-cb4a-462c-ad6d-15ba2fabe35c",
"DefaultSelectedSegmentIds": [
"98b70f99-e368-452f-8127-a1e4541d110f",
"d4a4b16c-67c3-4fe4-8dbc-ab6e0b93b50c"
]
}
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>98b70f99-e368-452f-8127-a1e4541d110f</d2p1:guid>
<d2p1:guid>d4a4b16c-67c3-4fe4-8dbc-ab6e0b93b50c</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>43e3c385-f878-49bb-b9c7-d1b105602887</OrgId>
<SegmentCategoryId>db99a8af-cb4a-462c-ad6d-15ba2fabe35c</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": "a903e680-0089-44f0-acc6-2da778122d7d",
"SegmentCategoryId": "eeb3a213-7dec-445a-a4bf-ef979c112ec8",
"SelectedSegments": [
"178e772a-4c52-478b-b59d-62d6b6b7cbc6",
"7b0e892f-28ec-48d2-b4a9-e07e94d29499"
],
"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>a903e680-0089-44f0-acc6-2da778122d7d</OrgId>
<SegmentCategoryId>eeb3a213-7dec-445a-a4bf-ef979c112ec8</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>178e772a-4c52-478b-b59d-62d6b6b7cbc6</d2p1:guid>
<d2p1:guid>7b0e892f-28ec-48d2-b4a9-e07e94d29499</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>