POST api/PIMS/AddProperty
Request Information
URI Parameters
None.
Body Parameters
Properties| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyID | integer |
None. |
|
| CountyID | integer |
None. |
|
| EntityID | integer |
None. |
|
| PropertyID_HomeAway | integer |
None. |
|
| UnitID_HomeAway | integer |
None. |
|
| Listing_AirBnb | string |
None. |
|
| CountyName | string |
None. |
|
| EntityName | string |
None. |
|
| StreetAddress | string |
None. |
|
| QBAddress | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| ZipCode | string |
None. |
|
| isActive | boolean |
None. |
|
| CreatedDate | string |
None. |
|
| UpdatedDate | string |
None. |
|
| TimeOffset | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyID": 1,
"CountyID": 2,
"EntityID": 3,
"PropertyID_HomeAway": 4,
"UnitID_HomeAway": 5,
"Listing_AirBnb": "sample string 6",
"CountyName": "sample string 7",
"EntityName": "sample string 8",
"StreetAddress": "sample string 9",
"QBAddress": "sample string 10",
"City": "sample string 11",
"State": "sample string 12",
"ZipCode": "sample string 13",
"isActive": true,
"CreatedDate": "sample string 15",
"UpdatedDate": "sample string 16",
"TimeOffset": 17
}
application/xml, text/xml
Sample:
<Properties xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PIMS.DTO"> <City>sample string 11</City> <CountyID>2</CountyID> <CountyName>sample string 7</CountyName> <CreatedDate>sample string 15</CreatedDate> <EntityID>3</EntityID> <EntityName>sample string 8</EntityName> <Listing_AirBnb>sample string 6</Listing_AirBnb> <PropertyID>1</PropertyID> <PropertyID_HomeAway>4</PropertyID_HomeAway> <QBAddress>sample string 10</QBAddress> <State>sample string 12</State> <StreetAddress>sample string 9</StreetAddress> <TimeOffset>17</TimeOffset> <UnitID_HomeAway>5</UnitID_HomeAway> <UpdatedDate>sample string 16</UpdatedDate> <ZipCode>sample string 13</ZipCode> <isActive>true</isActive> </Properties>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>