PUT api/v{version}/season/{id}/status/{status}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

status

string

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

SetSeasonStatusResponse
NameDescriptionTypeAdditional information
Ok

boolean

None.

Reason

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Ok": true,
  "Reason": "sample string 2"
}

application/xml, text/xml

Sample:
<SetSeasonStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DartStat.Web.Areas.Apiv2.Models">
  <Ok>true</Ok>
  <Reason>sample string 2</Reason>
</SetSeasonStatusResponse>