POST api/Cosecha/Insert

Request Information

URI Parameters

None.

Body Parameters

Cosecha
NameDescriptionTypeAdditional information
id

string

Required

Nombre

string

Required

id_Cereal

string

Required

AñoDesde

decimal number

None.

AñoHasta

decimal number

None.

Cereal

Cereal

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "Nombre": "sample string 2",
  "id_Cereal": "sample string 3",
  "AñoDesde": 4.0,
  "AñoHasta": 5.0,
  "Cereal": {
    "id": "sample string 1",
    "Nombre": "sample string 2"
  }
}

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

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.