POST api/LeagueHeader/DeleteLeagueHeader

Request Information

URI Parameters

None.

Body Parameters

EditLeagueHeaderCommandDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

LeagueName

string

None.

CustomerId

globally unique identifier

None.

SportsTypeId

globally unique identifier

None.

StickerId

globally unique identifier

None.

StickerImage

string

None.

ColourId

globally unique identifier

None.

UserId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "7bcb02b7-a51a-459e-8a26-8235271eca8e",
  "LeagueName": "sample string 2",
  "CustomerId": "b86d7d60-03f5-4a0e-a862-1acc68879a3f",
  "SportsTypeId": "bb617e7e-7345-4626-92b6-23c5319dc25f",
  "StickerId": "02d42657-5d4a-4f9d-ab4e-959b4f92c6fa",
  "StickerImage": "sample string 5",
  "ColourId": "4716757a-e31b-4eee-9697-616fa827f5f8",
  "UserId": "c9d44b82-3ee9-492c-a14e-8ccb07dc1ad6"
}

application/xml, text/xml

Sample:
<EditLeagueHeaderCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueHeaderModule.Model">
  <ColourId>4716757a-e31b-4eee-9697-616fa827f5f8</ColourId>
  <CustomerId>b86d7d60-03f5-4a0e-a862-1acc68879a3f</CustomerId>
  <Id>7bcb02b7-a51a-459e-8a26-8235271eca8e</Id>
  <LeagueName>sample string 2</LeagueName>
  <SportsTypeId>bb617e7e-7345-4626-92b6-23c5319dc25f</SportsTypeId>
  <StickerId>02d42657-5d4a-4f9d-ab4e-959b4f92c6fa</StickerId>
  <StickerImage>sample string 5</StickerImage>
  <UserId>c9d44b82-3ee9-492c-a14e-8ccb07dc1ad6</UserId>
</EditLeagueHeaderCommandDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EditLeagueHeaderCommandDto'.

Response Information

Resource Description

LeagueResponseDto
NameDescriptionTypeAdditional information
LeagueHeaderId

globally unique identifier

None.

Message

string

None.

MessageFr

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LeagueHeaderId": "77d73f95-78c7-476a-b41e-fbb27bb4d53f",
  "Message": "sample string 2",
  "MessageFr": "sample string 3"
}

application/xml, text/xml

Sample:
<LeagueResponseDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.LeagueHeaderModule.Model">
  <LeagueHeaderId>77d73f95-78c7-476a-b41e-fbb27bb4d53f</LeagueHeaderId>
  <Message>sample string 2</Message>
  <MessageFr>sample string 3</MessageFr>
</LeagueResponseDto>