POST api/Cosecha/Insert

Request Information

URI Parameters

None.

Body Parameters

Cosecha
NameDescriptionTypeAdditional information
id

string

Required

Max length: 10

Nombre

string

Required

Max length: 60

id_Cereal

string

Required

Max length: 10

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:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.