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": "724f2f0c-c91d-402e-a2cb-cbef390ecab6",
"SegmentCategoryId": "ca6f7456-06a5-4a21-8831-6f1f9a74100f",
"DefaultSelectedSegmentIds": [
"f9f4cb06-68d9-4e0a-9fa5-1af6a6092665",
"dc25a6bd-d145-4cb4-a4c5-7779a84c2e0a"
]
}
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>f9f4cb06-68d9-4e0a-9fa5-1af6a6092665</d2p1:guid>
<d2p1:guid>dc25a6bd-d145-4cb4-a4c5-7779a84c2e0a</d2p1:guid>
</DefaultSelectedSegmentIds>
<MemberId>sample string 1</MemberId>
<OrgId>724f2f0c-c91d-402e-a2cb-cbef390ecab6</OrgId>
<SegmentCategoryId>ca6f7456-06a5-4a21-8831-6f1f9a74100f</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": "5452936a-4e42-4f25-adb2-92da52362752",
"SegmentCategoryId": "9cf05a6f-921b-4720-bcdd-069176b90563",
"SelectedSegments": [
"2711b390-8102-4e9e-9622-76fe05aa46d3",
"885f4e32-c9aa-4c34-828a-741e12e082da"
],
"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>5452936a-4e42-4f25-adb2-92da52362752</OrgId>
<SegmentCategoryId>9cf05a6f-921b-4720-bcdd-069176b90563</SegmentCategoryId>
<SelectedSegments xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>2711b390-8102-4e9e-9622-76fe05aa46d3</d2p1:guid>
<d2p1:guid>885f4e32-c9aa-4c34-828a-741e12e082da</d2p1:guid>
</SelectedSegments>
</SelectedSegmentsResponseModel>