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": "714089c6-de73-4e7e-88df-cd97f5b60d32",
"SegmentCategoryId": "dc048b91-0123-4c96-9a72-fb60006634dd",
"DefaultSelectedSegmentIds": [
"05c7d3dc-9046-4c6c-87fc-11c690bf482c",
"6d3b2446-9598-4ab2-a72f-8f5ddcc15dfe"
]
}
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>05c7d3dc-9046-4c6c-87fc-11c690bf482c</d2p1:guid>
<d2p1:guid>6d3b2446-9598-4ab2-a72f-8f5ddcc15dfe</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>714089c6-de73-4e7e-88df-cd97f5b60d32</OrgId>
<SegmentCategoryId>dc048b91-0123-4c96-9a72-fb60006634dd</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": "f01cdef9-7c44-420b-add7-edfe6d2a4964",
"SegmentCategoryId": "3d2d8160-018d-4034-9aaf-a63ecc8dd9d2",
"SelectedSegments": [
"ae671772-2d13-49a8-be36-dd107c7ab09c",
"e1fd1c99-9049-4b0f-9cfe-d9d635ef1ae9"
],
"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>f01cdef9-7c44-420b-add7-edfe6d2a4964</OrgId>
<SegmentCategoryId>3d2d8160-018d-4034-9aaf-a63ecc8dd9d2</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>ae671772-2d13-49a8-be36-dd107c7ab09c</d2p1:guid>
<d2p1:guid>e1fd1c99-9049-4b0f-9cfe-d9d635ef1ae9</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>