POST Event/GetCountryOutrightsFiltered

Gets the countrys for a particular sport

Request Information

URI Parameters

None.

Body Parameters

ApiCountryOutrightsRequestFilter
NameDescriptionTypeAdditional information
sportId

Gets or sets the sportId identifier.

integer

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "sportId": 1,
  "userID": 2
}

application/xml, text/xml

Sample:
<ApiCountryOutrightsRequestFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>2</userID>
  <sportId>1</sportId>
</ApiCountryOutrightsRequestFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiCountryOutrightsResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

Collection of ApiCountryOutrights

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": 1,
      "b": "sample string 2",
      "c": "sample string 3",
      "d": "sample string 4"
    },
    {
      "a": 1,
      "b": "sample string 2",
      "c": "sample string 3",
      "d": "sample string 4"
    }
  ],
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiCountryOutrightsResponse 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>
    <ApiCountryOutrights>
      <a>1</a>
      <b>sample string 2</b>
      <c>sample string 3</c>
      <d>sample string 4</d>
    </ApiCountryOutrights>
    <ApiCountryOutrights>
      <a>1</a>
      <b>sample string 2</b>
      <c>sample string 3</c>
      <d>sample string 4</d>
    </ApiCountryOutrights>
  </ResponseObject>
</ApiCountryOutrightsResponse>