GET api/segment/categories

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ResponseResultOfListOfSegmentCategoryResponse
NameDescriptionTypeAdditional information
Data

Collection of SegmentCategoryResponse

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "segCategoryId": "649dd20e-8f00-4a2e-98b7-3dd905465ab4",
      "segCategoryName": "sample string 2",
      "segments": [
        {
          "segmentId": "593b47b8-6d3f-4b32-a0e9-74c69ed68811",
          "segmentName": "sample string 2"
        },
        {
          "segmentId": "593b47b8-6d3f-4b32-a0e9-74c69ed68811",
          "segmentName": "sample string 2"
        }
      ]
    },
    {
      "segCategoryId": "649dd20e-8f00-4a2e-98b7-3dd905465ab4",
      "segCategoryName": "sample string 2",
      "segments": [
        {
          "segmentId": "593b47b8-6d3f-4b32-a0e9-74c69ed68811",
          "segmentName": "sample string 2"
        },
        {
          "segmentId": "593b47b8-6d3f-4b32-a0e9-74c69ed68811",
          "segmentName": "sample string 2"
        }
      ]
    }
  ],
  "message": "sample string 1"
}

application/octet-stream

Sample:
{"data":[{"segCategoryId":"649dd20e-8f00-4a2e-98b7-3dd905465ab4","segCategoryName":"sample string 2","segments":[{"segmentId":"593b47b8-6d3f-4b32-a0e9-74c69ed68811","segmentName":"sample string 2"},{"segmentId":"593b47b8-6d3f-4b32-a0e9-74c69ed68811","segmentName":"sample string 2"}]},{"segCategoryId":"649dd20e-8f00-4a2e-98b7-3dd905465ab4","segCategoryName":"sample string 2","segments":[{"segmentId":"593b47b8-6d3f-4b32-a0e9-74c69ed68811","segmentName":"sample string 2"},{"segmentId":"593b47b8-6d3f-4b32-a0e9-74c69ed68811","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>649dd20e-8f00-4a2e-98b7-3dd905465ab4</d2p1:SegCategoryId>
      <d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
      <d2p1:Segments>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>593b47b8-6d3f-4b32-a0e9-74c69ed68811</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>593b47b8-6d3f-4b32-a0e9-74c69ed68811</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
      </d2p1:Segments>
    </d2p1:SegmentCategoryResponse>
    <d2p1:SegmentCategoryResponse>
      <d2p1:SegCategoryId>649dd20e-8f00-4a2e-98b7-3dd905465ab4</d2p1:SegCategoryId>
      <d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
      <d2p1:Segments>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>593b47b8-6d3f-4b32-a0e9-74c69ed68811</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>593b47b8-6d3f-4b32-a0e9-74c69ed68811</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
      </d2p1:Segments>
    </d2p1:SegmentCategoryResponse>
  </Data>
  <Message>sample string 1</Message>
</ResponseResultOfArrayOfSegmentCategoryResponseqwN7bu_PP>