GET v3/views/mobile/sport/default/{view}?id={id}

get view model of view

Request Information

Parameters

NameDescriptionAdditional information
view
view name

Define this parameter in the request URI.

id
sport id

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "sport": {
    "id": "sample string 1",
    "name": "sample string 2",
    "logo": "sample string 3",
    "sportType": 4,
    "enableClub": true
  },
  "view": "sample string 1",
  "viewModel": {}
}

application/xml, text/xml

Sample:
<DefaultVMOutVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.Web.API.Models.Output.V3.Views.Mobile.Sport">
  <Sport xmlns:d2p1="http://schemas.datacontract.org/2004/07/imLeagues.Internal.API.VO.Output.Sport">
    <d2p1:EnableClub>true</d2p1:EnableClub>
    <d2p1:Id>sample string 1</d2p1:Id>
    <d2p1:Logo>sample string 3</d2p1:Logo>
    <d2p1:Name>sample string 2</d2p1:Name>
    <d2p1:SportType>4</d2p1:SportType>
  </Sport>
  <View>sample string 1</View>
  <ViewModel />
</DefaultVMOutVO>