GET api/segment/category/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | globally unique identifier |
Required |
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": "097fea6f-1a50-477e-a5fb-bf894005cc6d",
"segmentName": "sample string 2"
},
{
"segmentId": "097fea6f-1a50-477e-a5fb-bf894005cc6d",
"segmentName": "sample string 2"
}
],
"message": "sample string 1"
}
application/octet-stream
Sample:
{"data":[{"segmentId":"097fea6f-1a50-477e-a5fb-bf894005cc6d","segmentName":"sample string 2"},{"segmentId":"097fea6f-1a50-477e-a5fb-bf894005cc6d","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>097fea6f-1a50-477e-a5fb-bf894005cc6d</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
<d2p1:SegmentResponse>
<d2p1:SegmentId>097fea6f-1a50-477e-a5fb-bf894005cc6d</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
</Data>
<Message>sample string 1</Message>
</ResponseResultOfArrayOfSegmentResponseqwN7bu_PP>