POST List/GetStaticList
Gets the Static Lists -- Category IDs: 1 ClientStatus, 2 Client Type, 3 Client Title, 4 Client Contact Type, 5 Bet Type, 6 Sport, 7 Sport Type, 8 Bank, 9 Bet Type Group, 10 Sub Bet Type, 11 BetType Rule, 12 Country, 13 Region, 14 Client Transaction Type
Request Information
URI Parameters
None.
Body Parameters
ApiStaticListRequestFilter| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryID |
Gets or sets the category ID. |
integer |
None. |
| userID |
Gets or sets the user identifier. |
integer |
None. |
Request Formats
application/json, text/json
{
"categoryID": 1,
"userID": 2
}
application/xml, text/xml
<ApiStaticListRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models"> <userID>2</userID> <categoryID>1</categoryID> </ApiStaticListRequestFilter>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
ApiBetTypeListResponse
ApiBetTypeListResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject |
Gets or sets the response object. |
Collection of ApiStaticList |
None. |
| ResponseType |
Gets or sets the type of the response. |
integer |
None. |
| ResponseMessage |
Gets or sets the response message. |
string |
None. |
Response Formats
application/json, text/json
{
"ResponseObject": [
{
"StaticListTypeID": 1,
"StaticListTypeName": "sample string 1",
"StaticListTypeValue": "sample string 2"
},
{
"StaticListTypeID": 1,
"StaticListTypeName": "sample string 1",
"StaticListTypeValue": "sample string 2"
}
],
"ResponseType": 1,
"ResponseMessage": "sample string 2"
}
application/xml, text/xml
<ApiBetTypeListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
<ResponseMessage>sample string 2</ResponseMessage>
<ResponseType>1</ResponseType>
<ResponseObject>
<ApiStaticList>
<StaticListTypeID>1</StaticListTypeID>
<StaticListTypeName>sample string 1</StaticListTypeName>
<StaticListTypeValue>sample string 2</StaticListTypeValue>
</ApiStaticList>
<ApiStaticList>
<StaticListTypeID>1</StaticListTypeID>
<StaticListTypeName>sample string 1</StaticListTypeName>
<StaticListTypeValue>sample string 2</StaticListTypeValue>
</ApiStaticList>
</ResponseObject>
</ApiBetTypeListResponse>