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": "00837132-2314-4dc4-95c8-4ba0291abf4c", "LeagueName": "sample string 2", "UniqueCode": "sample string 3", "CustomerId": "423ec413-d8d0-4cfd-8631-e66871d7ae3f", "SportsTypeId": "e3d518f5-0de2-46be-8d63-c2017f24103b", "SportName": "sample string 5", "Username": "sample string 6", "StickerId": "eaa44c77-f41b-42f0-a56b-75de46742468", "StickerImage": "sample string 7", "ColourId": "3c9eaac7-2736-489b-9dda-942a96327188", "ColourCode": "sample string 8", "CreationDate": "2025-03-13T03:58:03.6990212+00:00" }, { "Id": "00837132-2314-4dc4-95c8-4ba0291abf4c", "LeagueName": "sample string 2", "UniqueCode": "sample string 3", "CustomerId": "423ec413-d8d0-4cfd-8631-e66871d7ae3f", "SportsTypeId": "e3d518f5-0de2-46be-8d63-c2017f24103b", "SportName": "sample string 5", "Username": "sample string 6", "StickerId": "eaa44c77-f41b-42f0-a56b-75de46742468", "StickerImage": "sample string 7", "ColourId": "3c9eaac7-2736-489b-9dda-942a96327188", "ColourCode": "sample string 8", "CreationDate": "2025-03-13T03:58:03.6990212+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>3c9eaac7-2736-489b-9dda-942a96327188</ColourId> <CreationDate>2025-03-13T03:58:03.6990212+00:00</CreationDate> <CustomerId>423ec413-d8d0-4cfd-8631-e66871d7ae3f</CustomerId> <Id>00837132-2314-4dc4-95c8-4ba0291abf4c</Id> <LeagueName>sample string 2</LeagueName> <SportName>sample string 5</SportName> <SportsTypeId>e3d518f5-0de2-46be-8d63-c2017f24103b</SportsTypeId> <StickerId>eaa44c77-f41b-42f0-a56b-75de46742468</StickerId> <StickerImage>sample string 7</StickerImage> <UniqueCode>sample string 3</UniqueCode> <Username>sample string 6</Username> </LeagueHeaderDto> <LeagueHeaderDto> <ColourCode>sample string 8</ColourCode> <ColourId>3c9eaac7-2736-489b-9dda-942a96327188</ColourId> <CreationDate>2025-03-13T03:58:03.6990212+00:00</CreationDate> <CustomerId>423ec413-d8d0-4cfd-8631-e66871d7ae3f</CustomerId> <Id>00837132-2314-4dc4-95c8-4ba0291abf4c</Id> <LeagueName>sample string 2</LeagueName> <SportName>sample string 5</SportName> <SportsTypeId>e3d518f5-0de2-46be-8d63-c2017f24103b</SportsTypeId> <StickerId>eaa44c77-f41b-42f0-a56b-75de46742468</StickerId> <StickerImage>sample string 7</StickerImage> <UniqueCode>sample string 3</UniqueCode> <Username>sample string 6</Username> </LeagueHeaderDto> </ArrayOfLeagueHeaderDto>