POST api/InsertResidente
Request Information
URI Parameters
None.
Body Parameters
ResidenteInsertModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id_Residente | integer |
None. |
|
| D_residente | string |
None. |
|
| Id_Casa | integer |
None. |
|
| string |
None. |
||
| Telefono | string |
None. |
|
| Titular | boolean |
None. |
|
| Pass | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id_Residente": 1,
"D_residente": "sample string 2",
"Id_Casa": 3,
"Email": "sample string 4",
"Telefono": "sample string 5",
"Titular": true,
"Pass": "sample string 7"
}
application/xml, text/xml
Sample:
<ResidenteInsertModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AxcesaConnect.Models"> <D_residente>sample string 2</D_residente> <Email>sample string 4</Email> <Id_Casa>3</Id_Casa> <Id_Residente>1</Id_Residente> <Pass>sample string 7</Pass> <Telefono>sample string 5</Telefono> <Titular>true</Titular> </ResidenteInsertModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ResidenteIdModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id_Residente | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id_Residente": 1
},
{
"Id_Residente": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfResidenteIdModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AxcesaConnect.Models">
<ResidenteIdModel>
<Id_Residente>1</Id_Residente>
</ResidenteIdModel>
<ResidenteIdModel>
<Id_Residente>1</Id_Residente>
</ResidenteIdModel>
</ArrayOfResidenteIdModel>