GET api/Student/GetUserChannel
“GetUserChannel”的文档。
Response Information
Response body formats
application/json, text/json
Sample:
{
"code": 1,
"success": true,
"msg": "sample string 3",
"msgDev": "sample string 4",
"data": [
{
"UserId": 1,
"Channel": [
1,
2,
3
]
},
{
"UserId": 1,
"Channel": [
1,
2,
3
]
},
{
"UserId": 1,
"Channel": [
1,
2,
3
]
}
]
}
application/xml, text/xml
Sample:
<MessageModelOfArrayOfStudentController.UserChannelDto7D13ATid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TQAPI.Controllers.TQSystem">
<code>1</code>
<data>
<StudentController.UserChannelDto>
<Channel xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
<d4p1:int>3</d4p1:int>
</Channel>
<UserId>1</UserId>
</StudentController.UserChannelDto>
<StudentController.UserChannelDto>
<Channel xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
<d4p1:int>3</d4p1:int>
</Channel>
<UserId>1</UserId>
</StudentController.UserChannelDto>
<StudentController.UserChannelDto>
<Channel xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d4p1:int>1</d4p1:int>
<d4p1:int>2</d4p1:int>
<d4p1:int>3</d4p1:int>
</Channel>
<UserId>1</UserId>
</StudentController.UserChannelDto>
</data>
<msg>sample string 3</msg>
<msgDev>sample string 4</msgDev>
<success>true</success>
</MessageModelOfArrayOfStudentController.UserChannelDto7D13ATid>