GET api/SystemSettings/GetChannelList?ServiceID={ServiceID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| ServiceID | integer |
None. |
Body Parameters
None.
Response Information
Resource Description
ChannelListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ChannelList | Collection of ChannelList |
None. |
|
| IsPaymentAvailable | boolean |
None. |
|
| success | boolean |
None. |
|
| code | string |
None. |
|
| message | string |
None. |
|
| errors | Collection of string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ChannelList": [
{
"ID": 1,
"ChannelName": "sample string 2",
"ImageLocation": "sample string 3",
"IsTokenized": true,
"ShowInIOS": true,
"ShowInAndroid": true
},
{
"ID": 1,
"ChannelName": "sample string 2",
"ImageLocation": "sample string 3",
"IsTokenized": true,
"ShowInIOS": true,
"ShowInAndroid": true
}
],
"IsPaymentAvailable": true,
"success": true,
"code": "sample string 3",
"message": "sample string 4",
"errors": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ChannelListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models.SystemSettings">
<code xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">sample string 3</code>
<errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</errors>
<message xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">sample string 4</message>
<success xmlns="http://schemas.datacontract.org/2004/07/QatarPay.Models">true</success>
<ChannelList>
<ChannelList>
<ChannelName>sample string 2</ChannelName>
<ID>1</ID>
<ImageLocation>sample string 3</ImageLocation>
<IsTokenized>true</IsTokenized>
<ShowInAndroid>true</ShowInAndroid>
<ShowInIOS>true</ShowInIOS>
</ChannelList>
<ChannelList>
<ChannelName>sample string 2</ChannelName>
<ID>1</ID>
<ImageLocation>sample string 3</ImageLocation>
<IsTokenized>true</IsTokenized>
<ShowInAndroid>true</ShowInAndroid>
<ShowInIOS>true</ShowInIOS>
</ChannelList>
</ChannelList>
<IsPaymentAvailable>true</IsPaymentAvailable>
</ChannelListResponse>