POST Event/GetEventBetType

Gets the event bet types.

Request Information

URI Parameters

None.

Body Parameters

ApiEventBetTypeRequestFilter
NameDescriptionTypeAdditional information
pageNum

Gets or sets the page number.

integer

None.

pageSize

Gets or sets the size of the page.

integer

None.

eventID

Gets or sets the event identifier.

integer

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pageNum": 1,
  "pageSize": 2,
  "eventID": 3,
  "userID": 4
}

application/xml, text/xml

Sample:
<ApiEventBetTypeRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>4</userID>
  <eventID>3</eventID>
  <pageNum>1</pageNum>
  <pageSize>2</pageSize>
</ApiEventBetTypeRequestFilter>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ApiEventBetTypeRequestFilter'.

Response Information

Resource Description

ApiEventBetTypeResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

Collection of ApiEventBetType

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

Sample:
{
  "ResponseObject": [
    {
      "a": "sample string 1",
      "b": 1,
      "c": 1.0,
      "d": 1,
      "e": "sample string 2",
      "f": "sample string 3",
      "g": 1,
      "h": 1,
      "i": 1,
      "j": 1,
      "k": 1,
      "l": 1
    },
    {
      "a": "sample string 1",
      "b": 1,
      "c": 1.0,
      "d": 1,
      "e": "sample string 2",
      "f": "sample string 3",
      "g": 1,
      "h": 1,
      "i": 1,
      "j": 1,
      "k": 1,
      "l": 1
    }
  ],
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiEventBetTypeResponse 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>
    <ApiEventBetType>
      <a>sample string 1</a>
      <b>1</b>
      <c>1</c>
      <d>1</d>
      <e>sample string 2</e>
      <f>sample string 3</f>
      <g>1</g>
      <h>1</h>
      <i>1</i>
      <j>1</j>
      <k>1</k>
      <l>1</l>
    </ApiEventBetType>
    <ApiEventBetType>
      <a>sample string 1</a>
      <b>1</b>
      <c>1</c>
      <d>1</d>
      <e>sample string 2</e>
      <f>sample string 3</f>
      <g>1</g>
      <h>1</h>
      <i>1</i>
      <j>1</j>
      <k>1</k>
      <l>1</l>
    </ApiEventBetType>
  </ResponseObject>
</ApiEventBetTypeResponse>