GET api/segment/all
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": "37bda5da-a959-4e9d-b66c-bbaed519b65e",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "772f5ab5-87e0-475b-ae9f-e31a7259bb65",
"segmentName": "sample string 2"
},
{
"segmentId": "772f5ab5-87e0-475b-ae9f-e31a7259bb65",
"segmentName": "sample string 2"
}
]
},
{
"segCategoryId": "37bda5da-a959-4e9d-b66c-bbaed519b65e",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "772f5ab5-87e0-475b-ae9f-e31a7259bb65",
"segmentName": "sample string 2"
},
{
"segmentId": "772f5ab5-87e0-475b-ae9f-e31a7259bb65",
"segmentName": "sample string 2"
}
]
}
],
"message": "sample string 1"
}
application/octet-stream
Sample:
{"data":[{"segCategoryId":"37bda5da-a959-4e9d-b66c-bbaed519b65e","segCategoryName":"sample string 2","segments":[{"segmentId":"772f5ab5-87e0-475b-ae9f-e31a7259bb65","segmentName":"sample string 2"},{"segmentId":"772f5ab5-87e0-475b-ae9f-e31a7259bb65","segmentName":"sample string 2"}]},{"segCategoryId":"37bda5da-a959-4e9d-b66c-bbaed519b65e","segCategoryName":"sample string 2","segments":[{"segmentId":"772f5ab5-87e0-475b-ae9f-e31a7259bb65","segmentName":"sample string 2"},{"segmentId":"772f5ab5-87e0-475b-ae9f-e31a7259bb65","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>37bda5da-a959-4e9d-b66c-bbaed519b65e</d2p1:SegCategoryId>
<d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
<d2p1:Segments>
<d2p1:SegmentResponse>
<d2p1:SegmentId>772f5ab5-87e0-475b-ae9f-e31a7259bb65</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
<d2p1:SegmentResponse>
<d2p1:SegmentId>772f5ab5-87e0-475b-ae9f-e31a7259bb65</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
</d2p1:Segments>
</d2p1:SegmentCategoryResponse>
<d2p1:SegmentCategoryResponse>
<d2p1:SegCategoryId>37bda5da-a959-4e9d-b66c-bbaed519b65e</d2p1:SegCategoryId>
<d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
<d2p1:Segments>
<d2p1:SegmentResponse>
<d2p1:SegmentId>772f5ab5-87e0-475b-ae9f-e31a7259bb65</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
<d2p1:SegmentResponse>
<d2p1:SegmentId>772f5ab5-87e0-475b-ae9f-e31a7259bb65</d2p1:SegmentId>
<d2p1:SegmentName>sample string 2</d2p1:SegmentName>
</d2p1:SegmentResponse>
</d2p1:Segments>
</d2p1:SegmentCategoryResponse>
</Data>
<Message>sample string 1</Message>
</ResponseResultOfArrayOfSegmentCategoryResponseqwN7bu_PP>