POST api/PermisosAmbientales

Request Information

URI Parameters

None.

Body Parameters

PermisoAmbiental
NameDescriptionTypeAdditional information
idPermiso

integer

None.

permiso

string

Required

String length: inclusive between 0 and 200

descripcion

string

String length: inclusive between 0 and 500

activo

boolean

None.

fechaInicio

date

Data type: DateTime

fechaFin

date

Data type: DateTime

borrado

date

Data type: DateTime

Especimen

Collection of Especimen

None.

Lote

Collection of Lote

None.

Request Formats

application/json, text/json

Sample:
{
  "idPermiso": 1,
  "permiso": "sample string 2",
  "descripcion": "sample string 3",
  "activo": true,
  "fechaInicio": "2024-12-22T23:57:59.1991358+00:00",
  "fechaFin": "2024-12-22T23:57:59.1991358+00:00",
  "borrado": "2024-12-22T23:57:59.1991358+00:00"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PermisoAmbiental
NameDescriptionTypeAdditional information
idPermiso

integer

None.

permiso

string

Required

String length: inclusive between 0 and 200

descripcion

string

String length: inclusive between 0 and 500

activo

boolean

None.

fechaInicio

date

Data type: DateTime

fechaFin

date

Data type: DateTime

borrado

date

Data type: DateTime

Especimen

Collection of Especimen

None.

Lote

Collection of Lote

None.

Response Formats

application/json, text/json

Sample:
{
  "idPermiso": 1,
  "permiso": "sample string 2",
  "descripcion": "sample string 3",
  "activo": true,
  "fechaInicio": "2024-12-22T23:57:59.2616296+00:00",
  "fechaFin": "2024-12-22T23:57:59.2616296+00:00",
  "borrado": "2024-12-22T23:57:59.2616296+00:00"
}

application/xml

Sample:

Sample not available.

text/xml

Sample:

Sample not available.