POST api/UserApi/PurchaseProperty

Request Information

URI Parameters

None.

Body Parameters

BOProperty
NameDescriptionTypeAdditional information
Result_status

integer

None.

UserId

integer

None.

PropertyId

integer

None.

unit

decimal number

None.

onRate

decimal number

None.

OnDate

string

None.

PpId

integer

None.

From_Rate

decimal number

None.

To_Rate

decimal number

None.

map_location

string

None.

Name

string

None.

Purchase_date

string

None.

Ondate_display

string

None.

Property_name

string

None.

Property_area

decimal number

None.

MainId

string

None.

Namefrom

string

None.

MainIdfrom

string

None.

Property_Address

string

None.

Property_Location

string

None.

Property_Image

string

None.

Msg

string

None.

Error_msg

string

None.

FromDate

string

None.

ToDate

string

None.

Area

decimal number

None.

Rate

decimal number

None.

Amount

decimal number

None.

PlateformFee

decimal number

None.

Self_unit

decimal number

None.

Downline_unit

decimal number

None.

Self_Business

decimal number

None.

Downline_Business

decimal number

None.

NetAmount

decimal number

None.

Balance_area

decimal number

None.

PurchaseUnit

decimal number

None.

Per

decimal number

None.

Lvl

integer

None.

ImageFile

HttpPostedFileBase

None.

Request Formats

application/json, text/json

Sample:
{
  "Result_status": 1,
  "UserId": 2,
  "PropertyId": 3,
  "unit": 4.0,
  "onRate": 5.0,
  "OnDate": "sample string 6",
  "PpId": 7,
  "From_Rate": 8.0,
  "To_Rate": 9.0,
  "map_location": "sample string 10",
  "Name": "sample string 11",
  "Purchase_date": "sample string 12",
  "Ondate_display": "sample string 13",
  "Property_name": "sample string 14",
  "Property_area": 15.0,
  "MainId": "sample string 16",
  "Namefrom": "sample string 17",
  "MainIdfrom": "sample string 18",
  "Property_Address": "sample string 19",
  "Property_Location": "sample string 20",
  "Property_Image": "sample string 21",
  "Msg": "sample string 22",
  "Error_msg": "sample string 23",
  "FromDate": "sample string 24",
  "ToDate": "sample string 25",
  "Area": 26.0,
  "Rate": 27.0,
  "Amount": 28.0,
  "PlateformFee": 29.0,
  "Self_unit": 30.0,
  "Downline_unit": 31.0,
  "Self_Business": 32.0,
  "Downline_Business": 33.0,
  "NetAmount": 34.0,
  "Balance_area": 35.0,
  "PurchaseUnit": 36.0,
  "Per": 37.0,
  "Lvl": 38,
  "ImageFile": null
}

application/xml, text/xml

Sample:
<BOProperty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO">
  <Amount>28</Amount>
  <Area>26</Area>
  <Balance_area>35</Balance_area>
  <Downline_Business>33</Downline_Business>
  <Downline_unit>31</Downline_unit>
  <Error_msg>sample string 23</Error_msg>
  <FromDate>sample string 24</FromDate>
  <From_Rate>8</From_Rate>
  <ImageFile xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <Lvl>38</Lvl>
  <MainId>sample string 16</MainId>
  <MainIdfrom>sample string 18</MainIdfrom>
  <Msg>sample string 22</Msg>
  <Name>sample string 11</Name>
  <Namefrom>sample string 17</Namefrom>
  <NetAmount>34</NetAmount>
  <OnDate>sample string 6</OnDate>
  <Ondate_display>sample string 13</Ondate_display>
  <Per>37</Per>
  <PlateformFee>29</PlateformFee>
  <PpId>7</PpId>
  <PropertyId>3</PropertyId>
  <Property_Address>sample string 19</Property_Address>
  <Property_Image>sample string 21</Property_Image>
  <Property_Location>sample string 20</Property_Location>
  <Property_area>15</Property_area>
  <Property_name>sample string 14</Property_name>
  <PurchaseUnit>36</PurchaseUnit>
  <Purchase_date>sample string 12</Purchase_date>
  <Rate>27</Rate>
  <Result_status>1</Result_status>
  <Self_Business>32</Self_Business>
  <Self_unit>30</Self_unit>
  <ToDate>sample string 25</ToDate>
  <To_Rate>9</To_Rate>
  <UserId>2</UserId>
  <map_location>sample string 10</map_location>
  <onRate>5</onRate>
  <unit>4</unit>
</BOProperty>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.