GET api/segment/categories
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseResultOfListOfSegmentCategoryResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Collection of SegmentCategoryResponse |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": [
{
"segCategoryId": "143762c2-2f66-40b5-85b3-e1d4b13b7c55",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "b254a540-c4a4-4c5e-85c9-b0d6675d8f9e",
"segmentName": "sample string 2"
},
{
"segmentId": "b254a540-c4a4-4c5e-85c9-b0d6675d8f9e",
"segmentName": "sample string 2"
}
]
},
{
"segCategoryId": "143762c2-2f66-40b5-85b3-e1d4b13b7c55",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "b254a540-c4a4-4c5e-85c9-b0d6675d8f9e",
"segmentName": "sample string 2"
},
{
"segmentId": "b254a540-c4a4-4c5e-85c9-b0d6675d8f9e",
"segmentName": "sample string 2"
}
]
}
],
"message": "sample string 1"
}
application/octet-stream
Sample:
{"data":[{"segCategoryId":"143762c2-2f66-40b5-85b3-e1d4b13b7c55","segCategoryName":"sample string 2","segments":[{"segmentId":"b254a540-c4a4-4c5e-85c9-b0d6675d8f9e","segmentName":"sample string 2"},{"segmentId":"b254a540-c4a4-4c5e-85c9-b0d6675d8f9e","segmentName":"sample string 2"}]},{"segCategoryId":"143762c2-2f66-40b5-85b3-e1d4b13b7c55","segCategoryName":"sample string 2","segments":[{"segmentId":"b254a540-c4a4-4c5e-85c9-b0d6675d8f9e","segmentName":"sample string 2"},{"segmentId":"b254a540-c4a4-4c5e-85c9-b0d6675d8f9e","segmentName":"sample string 2"}]}],"message":"sample string 1"}
application/xml, text/xml
Sample:
<ResponseResultOfArrayOfSegmentCategoryResponseqwN7bu_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:SegmentCategoryResponse>
<d2p1:SegCategoryId>143762c2-2f66-40b5-85b3-e1d4b13b7c55</d2p1:SegCategoryId>
<d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
<d2p1:Segments>
<d2p1:SegmentResponse>
<d2p1:SegmentId>b254a540-c4a4-4c5e-85c9-b0d6675d8f9e</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
<d2p1:SegmentResponse>
<d2p1:SegmentId>b254a540-c4a4-4c5e-85c9-b0d6675d8f9e</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
</d2p1:Segments>
</d2p1:SegmentCategoryResponse>
<d2p1:SegmentCategoryResponse>
<d2p1:SegCategoryId>143762c2-2f66-40b5-85b3-e1d4b13b7c55</d2p1:SegCategoryId>
<d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
<d2p1:Segments>
<d2p1:SegmentResponse>
<d2p1:SegmentId>b254a540-c4a4-4c5e-85c9-b0d6675d8f9e</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
<d2p1:SegmentResponse>
<d2p1:SegmentId>b254a540-c4a4-4c5e-85c9-b0d6675d8f9e</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
</d2p1:Segments>
</d2p1:SegmentCategoryResponse>
</Data>
<Message>sample string 1</Message>
</ResponseResultOfArrayOfSegmentCategoryResponseqwN7bu_PP>