GET api/user/segment/all
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ResponseResultOfUserSegmentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | UserSegmentResponse |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"data": {
"userId": "sample string 1",
"selectedSegments": [
{
"segCategoryId": "7a549406-7213-4e3d-a5b1-c0a893cda2e2",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "75be26bc-0270-4832-9a97-c9f51a144792",
"segmentName": "sample string 2"
},
{
"segmentId": "75be26bc-0270-4832-9a97-c9f51a144792",
"segmentName": "sample string 2"
}
]
},
{
"segCategoryId": "7a549406-7213-4e3d-a5b1-c0a893cda2e2",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "75be26bc-0270-4832-9a97-c9f51a144792",
"segmentName": "sample string 2"
},
{
"segmentId": "75be26bc-0270-4832-9a97-c9f51a144792",
"segmentName": "sample string 2"
}
]
}
]
},
"message": "sample string 1"
}
application/octet-stream
Sample:
{"data":{"userId":"sample string 1","selectedSegments":[{"segCategoryId":"7a549406-7213-4e3d-a5b1-c0a893cda2e2","segCategoryName":"sample string 2","segments":[{"segmentId":"75be26bc-0270-4832-9a97-c9f51a144792","segmentName":"sample string 2"},{"segmentId":"75be26bc-0270-4832-9a97-c9f51a144792","segmentName":"sample string 2"}]},{"segCategoryId":"7a549406-7213-4e3d-a5b1-c0a893cda2e2","segCategoryName":"sample string 2","segments":[{"segmentId":"75be26bc-0270-4832-9a97-c9f51a144792","segmentName":"sample string 2"},{"segmentId":"75be26bc-0270-4832-9a97-c9f51a144792","segmentName":"sample string 2"}]}]},"message":"sample string 1"}
application/xml, text/xml
Sample:
<ResponseResultOfUserSegmentResponseBtYhHhLc 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.User.Response">
<d2p1:SelectedSegments xmlns:d3p1="http://schemas.datacontract.org/2004/07/BondMX.Api.Common.Segment.Response">
<d3p1:SegmentCategoryResponse>
<d3p1:SegCategoryId>7a549406-7213-4e3d-a5b1-c0a893cda2e2</d3p1:SegCategoryId>
<d3p1:SegCategoryName>sample string 2</d3p1:SegCategoryName>
<d3p1:Segments>
<d3p1:SegmentResponse>
<d3p1:SegmentId>75be26bc-0270-4832-9a97-c9f51a144792</d3p1:SegmentId>
<d3p1:SegmentName>sample string 2</d3p1:SegmentName>
</d3p1:SegmentResponse>
<d3p1:SegmentResponse>
<d3p1:SegmentId>75be26bc-0270-4832-9a97-c9f51a144792</d3p1:SegmentId>
<d3p1:SegmentName>sample string 2</d3p1:SegmentName>
</d3p1:SegmentResponse>
</d3p1:Segments>
</d3p1:SegmentCategoryResponse>
<d3p1:SegmentCategoryResponse>
<d3p1:SegCategoryId>7a549406-7213-4e3d-a5b1-c0a893cda2e2</d3p1:SegCategoryId>
<d3p1:SegCategoryName>sample string 2</d3p1:SegCategoryName>
<d3p1:Segments>
<d3p1:SegmentResponse>
<d3p1:SegmentId>75be26bc-0270-4832-9a97-c9f51a144792</d3p1:SegmentId>
<d3p1:SegmentName>sample string 2</d3p1:SegmentName>
</d3p1:SegmentResponse>
<d3p1:SegmentResponse>
<d3p1:SegmentId>75be26bc-0270-4832-9a97-c9f51a144792</d3p1:SegmentId>
<d3p1:SegmentName>sample string 2</d3p1:SegmentName>
</d3p1:SegmentResponse>
</d3p1:Segments>
</d3p1:SegmentCategoryResponse>
</d2p1:SelectedSegments>
<d2p1:UserId>sample string 1</d2p1:UserId>
</Data>
<Message>sample string 1</Message>
</ResponseResultOfUserSegmentResponseBtYhHhLc>