POST api/Paises
Request Information
URI Parameters
None.
Body Parameters
PaisName | Description | Type | Additional information |
---|---|---|---|
idPais | integer |
None. |
|
idContinente | integer |
Required |
|
pais1 | string |
Required String length: inclusive between 0 and 200 |
|
activo | boolean |
None. |
|
borrado | date |
Data type: DateTime |
|
Continente | Continente |
None. |
|
Prestamo | Collection of Prestamo |
None. |
|
Prestamo1 | Collection of Prestamo |
None. |
|
Prestamo2 | Collection of Prestamo |
None. |
|
Provincia | Collection of Provincia |
None. |
Request Formats
application/json, text/json
Sample:
{ "idPais": 1, "idContinente": 2, "pais1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:37:26.6090992+00:00", "Continente": { "idContinente": 1, "continente1": "sample string 2", "activo": true, "borrado": "2024-12-22T23:37:26.6090992+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
PaisName | Description | Type | Additional information |
---|---|---|---|
idPais | integer |
None. |
|
idContinente | integer |
Required |
|
pais1 | string |
Required String length: inclusive between 0 and 200 |
|
activo | boolean |
None. |
|
borrado | date |
Data type: DateTime |
|
Continente | Continente |
None. |
|
Prestamo | Collection of Prestamo |
None. |
|
Prestamo1 | Collection of Prestamo |
None. |
|
Prestamo2 | Collection of Prestamo |
None. |
|
Provincia | Collection of Provincia |
None. |
Response Formats
application/json, text/json
Sample:
{ "idPais": 1, "idContinente": 2, "pais1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:37:26.6715777+00:00", "Continente": { "idContinente": 1, "continente1": "sample string 2", "activo": true, "borrado": "2024-12-22T23:37:26.6715777+00:00" } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.