POST api/Parroquias
Request Information
URI Parameters
None.
Body Parameters
ParroquiaName | Description | Type | Additional information |
---|---|---|---|
idParroquia | integer |
None. |
|
idCanton | integer |
Required |
|
parroquia1 | string |
Required String length: inclusive between 0 and 200 |
|
activo | boolean |
None. |
|
borrado | date |
Data type: DateTime |
|
Canton | Canton |
None. |
|
Localidad | Collection of Localidad |
None. |
Request Formats
application/json, text/json
Sample:
{ "idParroquia": 1, "idCanton": 2, "parroquia1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4371204+00:00", "Canton": { "idCanton": 1, "idProvincia": 2, "canton1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4371204+00:00", "Provincia": { "idProvincia": 1, "idPais": 2, "provincia1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4371204+00:00", "Pais": { "idPais": 1, "idContinente": 2, "pais1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4371204+00:00", "Continente": { "idContinente": 1, "continente1": "sample string 2", "activo": true, "borrado": "2024-12-22T23:41:16.4371204+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
ParroquiaName | Description | Type | Additional information |
---|---|---|---|
idParroquia | integer |
None. |
|
idCanton | integer |
Required |
|
parroquia1 | string |
Required String length: inclusive between 0 and 200 |
|
activo | boolean |
None. |
|
borrado | date |
Data type: DateTime |
|
Canton | Canton |
None. |
|
Localidad | Collection of Localidad |
None. |
Response Formats
application/json, text/json
Sample:
{ "idParroquia": 1, "idCanton": 2, "parroquia1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4839901+00:00", "Canton": { "idCanton": 1, "idProvincia": 2, "canton1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4839901+00:00", "Provincia": { "idProvincia": 1, "idPais": 2, "provincia1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4839901+00:00", "Pais": { "idPais": 1, "idContinente": 2, "pais1": "sample string 3", "activo": true, "borrado": "2024-12-22T23:41:16.4839901+00:00", "Continente": { "idContinente": 1, "continente1": "sample string 2", "activo": true, "borrado": "2024-12-22T23:41:16.4839901+00:00" } } } } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.