GET api/LeagueHeader/GetCustomerLeagues?customerId={customerId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of LeagueHeaderDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

LeagueName

string

None.

UniqueCode

string

None.

CustomerId

globally unique identifier

None.

SportsTypeId

globally unique identifier

None.

SportName

string

None.

Username

string

None.

StickerId

globally unique identifier

None.

StickerImage

string

None.

ColourId

globally unique identifier

None.

ColourCode

string

None.

CreationDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "f4bac95c-6c76-4f14-aa80-e2ae4146048a",
    "LeagueName": "sample string 2",
    "UniqueCode": "sample string 3",
    "CustomerId": "f0b2e088-6009-4b9f-841d-517eaeaa33df",
    "SportsTypeId": "15bbc6f0-632c-453b-a80b-b85bbb931d9f",
    "SportName": "sample string 5",
    "Username": "sample string 6",
    "StickerId": "a8805ab1-ac08-4f90-ae1f-3ce1465213b6",
    "StickerImage": "sample string 7",
    "ColourId": "56a311d7-bcf3-42ac-80e6-4c6e570fff65",
    "ColourCode": "sample string 8",
    "CreationDate": "2024-11-28T07:45:16.3380844+00:00"
  },
  {
    "Id": "f4bac95c-6c76-4f14-aa80-e2ae4146048a",
    "LeagueName": "sample string 2",
    "UniqueCode": "sample string 3",
    "CustomerId": "f0b2e088-6009-4b9f-841d-517eaeaa33df",
    "SportsTypeId": "15bbc6f0-632c-453b-a80b-b85bbb931d9f",
    "SportName": "sample string 5",
    "Username": "sample string 6",
    "StickerId": "a8805ab1-ac08-4f90-ae1f-3ce1465213b6",
    "StickerImage": "sample string 7",
    "ColourId": "56a311d7-bcf3-42ac-80e6-4c6e570fff65",
    "ColourCode": "sample string 8",
    "CreationDate": "2024-11-28T07:45:16.3380844+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfLeagueHeaderDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueHeaderModule.Model">
  <LeagueHeaderDto>
    <ColourCode>sample string 8</ColourCode>
    <ColourId>56a311d7-bcf3-42ac-80e6-4c6e570fff65</ColourId>
    <CreationDate>2024-11-28T07:45:16.3380844+00:00</CreationDate>
    <CustomerId>f0b2e088-6009-4b9f-841d-517eaeaa33df</CustomerId>
    <Id>f4bac95c-6c76-4f14-aa80-e2ae4146048a</Id>
    <LeagueName>sample string 2</LeagueName>
    <SportName>sample string 5</SportName>
    <SportsTypeId>15bbc6f0-632c-453b-a80b-b85bbb931d9f</SportsTypeId>
    <StickerId>a8805ab1-ac08-4f90-ae1f-3ce1465213b6</StickerId>
    <StickerImage>sample string 7</StickerImage>
    <UniqueCode>sample string 3</UniqueCode>
    <Username>sample string 6</Username>
  </LeagueHeaderDto>
  <LeagueHeaderDto>
    <ColourCode>sample string 8</ColourCode>
    <ColourId>56a311d7-bcf3-42ac-80e6-4c6e570fff65</ColourId>
    <CreationDate>2024-11-28T07:45:16.3380844+00:00</CreationDate>
    <CustomerId>f0b2e088-6009-4b9f-841d-517eaeaa33df</CustomerId>
    <Id>f4bac95c-6c76-4f14-aa80-e2ae4146048a</Id>
    <LeagueName>sample string 2</LeagueName>
    <SportName>sample string 5</SportName>
    <SportsTypeId>15bbc6f0-632c-453b-a80b-b85bbb931d9f</SportsTypeId>
    <StickerId>a8805ab1-ac08-4f90-ae1f-3ce1465213b6</StickerId>
    <StickerImage>sample string 7</StickerImage>
    <UniqueCode>sample string 3</UniqueCode>
    <Username>sample string 6</Username>
  </LeagueHeaderDto>
</ArrayOfLeagueHeaderDto>