POST api/Corse/SetHide

Setta la modalità nascosta di una corsa

Request Information

URI Parameters

None.

Body Parameters

CorsaHide
NameDescriptionTypeAdditional information
IDCorsa

integer

Required

Hide

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "IDCorsa": 1,
  "Hide": true
}

text/html

Sample:
{"IDCorsa":1,"Hide":true}

application/xml, text/xml

Sample:
<CorsaHide xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxiServer.Models">
  <Hide>true</Hide>
  <IDCorsa>1</IDCorsa>
</CorsaHide>

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 'CorsaHide'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.