GET api/LeagueHeader/GetCustomerLeagues?customerId={customerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LeagueHeaderDtoName | Description | Type | Additional 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": "477ed206-7d93-443f-a341-2b370174814d", "LeagueName": "sample string 2", "UniqueCode": "sample string 3", "CustomerId": "c6f4fe1e-2b09-4c40-83e1-ed88742914ce", "SportsTypeId": "6cd8c1f7-3bcf-4723-bd22-bf1c3682913b", "SportName": "sample string 5", "Username": "sample string 6", "StickerId": "9780bcac-ad6a-4044-ab42-2074805646d9", "StickerImage": "sample string 7", "ColourId": "8cfefb33-5746-477b-acdb-71cb2d310f7b", "ColourCode": "sample string 8", "CreationDate": "2025-04-03T21:04:43.318699+00:00" }, { "Id": "477ed206-7d93-443f-a341-2b370174814d", "LeagueName": "sample string 2", "UniqueCode": "sample string 3", "CustomerId": "c6f4fe1e-2b09-4c40-83e1-ed88742914ce", "SportsTypeId": "6cd8c1f7-3bcf-4723-bd22-bf1c3682913b", "SportName": "sample string 5", "Username": "sample string 6", "StickerId": "9780bcac-ad6a-4044-ab42-2074805646d9", "StickerImage": "sample string 7", "ColourId": "8cfefb33-5746-477b-acdb-71cb2d310f7b", "ColourCode": "sample string 8", "CreationDate": "2025-04-03T21:04:43.318699+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>8cfefb33-5746-477b-acdb-71cb2d310f7b</ColourId> <CreationDate>2025-04-03T21:04:43.318699+00:00</CreationDate> <CustomerId>c6f4fe1e-2b09-4c40-83e1-ed88742914ce</CustomerId> <Id>477ed206-7d93-443f-a341-2b370174814d</Id> <LeagueName>sample string 2</LeagueName> <SportName>sample string 5</SportName> <SportsTypeId>6cd8c1f7-3bcf-4723-bd22-bf1c3682913b</SportsTypeId> <StickerId>9780bcac-ad6a-4044-ab42-2074805646d9</StickerId> <StickerImage>sample string 7</StickerImage> <UniqueCode>sample string 3</UniqueCode> <Username>sample string 6</Username> </LeagueHeaderDto> <LeagueHeaderDto> <ColourCode>sample string 8</ColourCode> <ColourId>8cfefb33-5746-477b-acdb-71cb2d310f7b</ColourId> <CreationDate>2025-04-03T21:04:43.318699+00:00</CreationDate> <CustomerId>c6f4fe1e-2b09-4c40-83e1-ed88742914ce</CustomerId> <Id>477ed206-7d93-443f-a341-2b370174814d</Id> <LeagueName>sample string 2</LeagueName> <SportName>sample string 5</SportName> <SportsTypeId>6cd8c1f7-3bcf-4723-bd22-bf1c3682913b</SportsTypeId> <StickerId>9780bcac-ad6a-4044-ab42-2074805646d9</StickerId> <StickerImage>sample string 7</StickerImage> <UniqueCode>sample string 3</UniqueCode> <Username>sample string 6</Username> </LeagueHeaderDto> </ArrayOfLeagueHeaderDto>