GET api/PackageInfo/SearchChannels?character={character}&schemeId={schemeId}&isSouthRegion={isSouthRegion}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| character | string |
Required |
|
| schemeId | integer |
Required |
|
| isSouthRegion | boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
ResultInfoOfListOfKeyValuePairOfStringAndListOfChannelsearched| Name | Description | Type | Additional information |
|---|---|---|---|
| AccessToken | string |
None. |
|
| TokenType | string |
None. |
|
| ResultType | TypeOfResult |
None. |
|
| ResultCode | integer |
None. |
|
| ResultDesc | string |
None. |
|
| Result | Collection of Pair of string [key] and Collection of Channelsearched [value] |
None. |
|
| ErrCode | integer |
None. |
|
| ErrDesc | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"AccessToken": "sample string 1",
"TokenType": "sample string 2",
"ResultType": 0,
"ResultCode": 3,
"ResultDesc": "sample string 4",
"Result": [
{
"Key": "sample string 1",
"Value": [
{
"ChannelId": 1,
"ChannelName": "sample string 2"
},
{
"ChannelId": 1,
"ChannelName": "sample string 2"
}
]
},
{
"Key": "sample string 1",
"Value": [
{
"ChannelId": 1,
"ChannelName": "sample string 2"
},
{
"ChannelId": 1,
"ChannelName": "sample string 2"
}
]
}
],
"ErrCode": 5,
"ErrDesc": "sample string 6"
}
application/xml, text/xml
Sample:
<ResultInfoOfArrayOfKeyValuePairOfstringArrayOfChannelsearchedVDaWyZKtR8RmUPp7 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Common">
<AccessToken>sample string 1</AccessToken>
<ErrCode>5</ErrCode>
<ErrDesc>sample string 6</ErrDesc>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic">
<d2p1:KeyValuePairOfstringArrayOfChannelsearchedVDaWyZKt>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Master">
<d4p1:Channelsearched>
<d4p1:ChannelId>1</d4p1:ChannelId>
<d4p1:ChannelName>sample string 2</d4p1:ChannelName>
</d4p1:Channelsearched>
<d4p1:Channelsearched>
<d4p1:ChannelId>1</d4p1:ChannelId>
<d4p1:ChannelName>sample string 2</d4p1:ChannelName>
</d4p1:Channelsearched>
</d2p1:value>
</d2p1:KeyValuePairOfstringArrayOfChannelsearchedVDaWyZKt>
<d2p1:KeyValuePairOfstringArrayOfChannelsearchedVDaWyZKt>
<d2p1:key>sample string 1</d2p1:key>
<d2p1:value xmlns:d4p1="http://schemas.datacontract.org/2004/07/Phoenix.IN.Common.Models.Master">
<d4p1:Channelsearched>
<d4p1:ChannelId>1</d4p1:ChannelId>
<d4p1:ChannelName>sample string 2</d4p1:ChannelName>
</d4p1:Channelsearched>
<d4p1:Channelsearched>
<d4p1:ChannelId>1</d4p1:ChannelId>
<d4p1:ChannelName>sample string 2</d4p1:ChannelName>
</d4p1:Channelsearched>
</d2p1:value>
</d2p1:KeyValuePairOfstringArrayOfChannelsearchedVDaWyZKt>
</Result>
<ResultCode>3</ResultCode>
<ResultDesc>sample string 4</ResultDesc>
<ResultType>Success</ResultType>
<TokenType>sample string 2</TokenType>
</ResultInfoOfArrayOfKeyValuePairOfstringArrayOfChannelsearchedVDaWyZKtR8RmUPp7>