POST api/PostHouseDetails
Request Information
URI Parameters
None.
Body Parameters
HouseDetailsName | Description | Type | Additional information |
---|---|---|---|
HID | integer |
None. |
|
UserID | integer |
None. |
|
House | integer |
Required |
|
HouseType | integer |
Required |
|
HouseSize | integer |
Matching regular expression pattern: ([0-9])+$ |
Request Formats
application/json, text/json
Sample:
{ "HID": 1, "UserID": 2, "House": 3, "HouseType": 4, "HouseSize": 5 }
application/xml, text/xml
Sample:
<HouseDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WDD_Models"> <HID>1</HID> <House>3</House> <HouseSize>5</HouseSize> <HouseType>4</HouseType> <UserID>2</UserID> </HouseDetails>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.