POST api/Apartment
Request Information
URI Parameters
None.
Body Parameters
ApartmentPojo| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| apartmentid | string |
None. |
|
| apartmentname | string |
None. |
|
| apartmentfor | string |
None. |
|
| createdby | string |
None. |
|
| updatedon | string |
None. |
|
| update | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"apartmentid": "sample string 2",
"apartmentname": "sample string 3",
"apartmentfor": "sample string 4",
"createdby": "sample string 5",
"updatedon": "sample string 6",
"update": "sample string 7"
}
text/html
Sample:
{"ID":1,"apartmentid":"sample string 2","apartmentname":"sample string 3","apartmentfor":"sample string 4","createdby":"sample string 5","updatedon":"sample string 6","update":"sample string 7"}
application/xml, text/xml
Sample:
<ApartmentPojo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DYCMProg.Models.Apartment"> <ID>1</ID> <apartmentfor>sample string 4</apartmentfor> <apartmentid>sample string 2</apartmentid> <apartmentname>sample string 3</apartmentname> <createdby>sample string 5</createdby> <update>sample string 7</update> <updatedon>sample string 6</updatedon> </ApartmentPojo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |