GET api/user/segment/commprefs
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseResultOfListOfSegmentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of SegmentResponse |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"segmentId": "23cbeb6c-7464-48ec-9e9f-57eed4b95cd0",
"segmentName": "sample string 2"
},
{
"segmentId": "23cbeb6c-7464-48ec-9e9f-57eed4b95cd0",
"segmentName": "sample string 2"
}
],
"message": "sample string 1"
}
application/octet-stream
Sample:
{"data":[{"segmentId":"23cbeb6c-7464-48ec-9e9f-57eed4b95cd0","segmentName":"sample string 2"},{"segmentId":"23cbeb6c-7464-48ec-9e9f-57eed4b95cd0","segmentName":"sample string 2"}],"message":"sample string 1"}
application/xml, text/xml
Sample:
<ResponseResultOfArrayOfSegmentResponseqwN7bu_PP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.Global.Response">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.Segment.Response">
<d2p1:SegmentResponse>
<d2p1:SegmentId>23cbeb6c-7464-48ec-9e9f-57eed4b95cd0</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
<d2p1:SegmentResponse>
<d2p1:SegmentId>23cbeb6c-7464-48ec-9e9f-57eed4b95cd0</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
</Data>
<Message>sample string 1</Message>
</ResponseResultOfArrayOfSegmentResponseqwN7bu_PP>