POST api/Provincias
Request Information
URI Parameters
None.
Body Parameters
Provincia| Name | Description | Type | Additional information |
|---|---|---|---|
| idProvincia | integer |
None. |
|
| idPais | integer |
Required |
|
| provincia1 | string |
Required String length: inclusive between 0 and 100 |
|
| activo | boolean |
None. |
|
| borrado | date |
Data type: DateTime |
|
| Canton | Collection of Canton |
None. |
|
| Isla | Collection of Isla |
None. |
|
| Pais | Pais |
None. |
|
| EspecieProvincia | Collection of EspecieProvincia |
None. |
|
| EspecieProvincia1 | Collection of EspecieProvincia |
None. |
Request Formats
application/json, text/json
Sample:
{
"idProvincia": 1,
"idPais": 2,
"provincia1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T13:29:14.0585997+00:00",
"Pais": {
"idPais": 1,
"idContinente": 2,
"pais1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T13:29:14.0585997+00:00",
"Continente": {
"idContinente": 1,
"continente1": "sample string 2",
"activo": true,
"borrado": "2025-10-30T13:29:14.0585997+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
Provincia| Name | Description | Type | Additional information |
|---|---|---|---|
| idProvincia | integer |
None. |
|
| idPais | integer |
Required |
|
| provincia1 | string |
Required String length: inclusive between 0 and 100 |
|
| activo | boolean |
None. |
|
| borrado | date |
Data type: DateTime |
|
| Canton | Collection of Canton |
None. |
|
| Isla | Collection of Isla |
None. |
|
| Pais | Pais |
None. |
|
| EspecieProvincia | Collection of EspecieProvincia |
None. |
|
| EspecieProvincia1 | Collection of EspecieProvincia |
None. |
Response Formats
application/json, text/json
Sample:
{
"idProvincia": 1,
"idPais": 2,
"provincia1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T13:29:14.1367091+00:00",
"Pais": {
"idPais": 1,
"idContinente": 2,
"pais1": "sample string 3",
"activo": true,
"borrado": "2025-10-30T13:29:14.1367091+00:00",
"Continente": {
"idContinente": 1,
"continente1": "sample string 2",
"activo": true,
"borrado": "2025-10-30T13:29:14.1367091+00:00"
}
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.