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": "9cb4a5df-25f0-40ce-83fc-ccb636eff49e",
      "segCategoryName": "sample string 2",
      "segments": [
        {
          "segmentId": "8c07a70a-b503-46cc-a613-b271508ef47a",
          "segmentName": "sample string 2"
        },
        {
          "segmentId": "8c07a70a-b503-46cc-a613-b271508ef47a",
          "segmentName": "sample string 2"
        }
      ]
    },
    {
      "segCategoryId": "9cb4a5df-25f0-40ce-83fc-ccb636eff49e",
      "segCategoryName": "sample string 2",
      "segments": [
        {
          "segmentId": "8c07a70a-b503-46cc-a613-b271508ef47a",
          "segmentName": "sample string 2"
        },
        {
          "segmentId": "8c07a70a-b503-46cc-a613-b271508ef47a",
          "segmentName": "sample string 2"
        }
      ]
    }
  ],
  "message": "sample string 1"
}

application/octet-stream

Sample:
{"data":[{"segCategoryId":"9cb4a5df-25f0-40ce-83fc-ccb636eff49e","segCategoryName":"sample string 2","segments":[{"segmentId":"8c07a70a-b503-46cc-a613-b271508ef47a","segmentName":"sample string 2"},{"segmentId":"8c07a70a-b503-46cc-a613-b271508ef47a","segmentName":"sample string 2"}]},{"segCategoryId":"9cb4a5df-25f0-40ce-83fc-ccb636eff49e","segCategoryName":"sample string 2","segments":[{"segmentId":"8c07a70a-b503-46cc-a613-b271508ef47a","segmentName":"sample string 2"},{"segmentId":"8c07a70a-b503-46cc-a613-b271508ef47a","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>9cb4a5df-25f0-40ce-83fc-ccb636eff49e</d2p1:SegCategoryId>
      <d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
      <d2p1:Segments>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>8c07a70a-b503-46cc-a613-b271508ef47a</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>8c07a70a-b503-46cc-a613-b271508ef47a</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
      </d2p1:Segments>
    </d2p1:SegmentCategoryResponse>
    <d2p1:SegmentCategoryResponse>
      <d2p1:SegCategoryId>9cb4a5df-25f0-40ce-83fc-ccb636eff49e</d2p1:SegCategoryId>
      <d2p1:SegCategoryName>sample string 2</d2p1:SegCategoryName>
      <d2p1:Segments>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>8c07a70a-b503-46cc-a613-b271508ef47a</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
        <d2p1:SegmentResponse>
          <d2p1:SegmentId>8c07a70a-b503-46cc-a613-b271508ef47a</d2p1:SegmentId>
          <d2p1:SegmentName>sample string 2</d2p1:SegmentName>
        </d2p1:SegmentResponse>
      </d2p1:Segments>
    </d2p1:SegmentCategoryResponse>
  </Data>
  <Message>sample string 1</Message>
</ResponseResultOfArrayOfSegmentCategoryResponseqwN7bu_PP>