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": "647b9f7a-700e-4316-b83e-b65f837ca1da",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "1b0c2b35-7bc9-41ba-8e0f-314295ae6140",
"segmentName": "sample string 2"
},
{
"segmentId": "1b0c2b35-7bc9-41ba-8e0f-314295ae6140",
"segmentName": "sample string 2"
}
]
},
{
"segCategoryId": "647b9f7a-700e-4316-b83e-b65f837ca1da",
"segCategoryName": "sample string 2",
"segments": [
{
"segmentId": "1b0c2b35-7bc9-41ba-8e0f-314295ae6140",
"segmentName": "sample string 2"
},
{
"segmentId": "1b0c2b35-7bc9-41ba-8e0f-314295ae6140",
"segmentName": "sample string 2"
}
]
}
]
},
"message": "sample string 1"
}
application/octet-stream
Sample:
{"data":{"userId":"sample string 1","selectedSegments":[{"segCategoryId":"647b9f7a-700e-4316-b83e-b65f837ca1da","segCategoryName":"sample string 2","segments":[{"segmentId":"1b0c2b35-7bc9-41ba-8e0f-314295ae6140","segmentName":"sample string 2"},{"segmentId":"1b0c2b35-7bc9-41ba-8e0f-314295ae6140","segmentName":"sample string 2"}]},{"segCategoryId":"647b9f7a-700e-4316-b83e-b65f837ca1da","segCategoryName":"sample string 2","segments":[{"segmentId":"1b0c2b35-7bc9-41ba-8e0f-314295ae6140","segmentName":"sample string 2"},{"segmentId":"1b0c2b35-7bc9-41ba-8e0f-314295ae6140","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>647b9f7a-700e-4316-b83e-b65f837ca1da</d3p1:SegCategoryId>
<d3p1:SegCategoryName>sample string 2</d3p1:SegCategoryName>
<d3p1:Segments>
<d3p1:SegmentResponse>
<d3p1:SegmentId>1b0c2b35-7bc9-41ba-8e0f-314295ae6140</d3p1:SegmentId>
<d3p1:SegmentName>sample string 2</d3p1:SegmentName>
</d3p1:SegmentResponse>
<d3p1:SegmentResponse>
<d3p1:SegmentId>1b0c2b35-7bc9-41ba-8e0f-314295ae6140</d3p1:SegmentId>
<d3p1:SegmentName>sample string 2</d3p1:SegmentName>
</d3p1:SegmentResponse>
</d3p1:Segments>
</d3p1:SegmentCategoryResponse>
<d3p1:SegmentCategoryResponse>
<d3p1:SegCategoryId>647b9f7a-700e-4316-b83e-b65f837ca1da</d3p1:SegCategoryId>
<d3p1:SegCategoryName>sample string 2</d3p1:SegCategoryName>
<d3p1:Segments>
<d3p1:SegmentResponse>
<d3p1:SegmentId>1b0c2b35-7bc9-41ba-8e0f-314295ae6140</d3p1:SegmentId>
<d3p1:SegmentName>sample string 2</d3p1:SegmentName>
</d3p1:SegmentResponse>
<d3p1:SegmentResponse>
<d3p1:SegmentId>1b0c2b35-7bc9-41ba-8e0f-314295ae6140</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>