POST api/Properties/SavePropertyBuying
Request Information
URI Parameters
None.
Body Parameters
PropertyBuying| Name | Description | Type | Additional information |
|---|---|---|---|
| PropertyID | Collection of SelectListItem |
None. |
|
| ROWID | globally unique identifier |
None. |
|
| Buying_ID | integer |
None. |
|
| Property_ID | integer |
None. |
|
| UserID | integer |
None. |
|
| Bought_Date | date |
None. |
|
| Bought_Price | decimal number |
None. |
|
| Bought_Percentag | decimal number |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | globally unique identifier |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | globally unique identifier |
None. |
|
| ApproveDate | date |
None. |
|
| ApprovedBy | globally unique identifier |
None. |
|
| CurrentStatus | integer |
None. |
|
| Notes | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PropertyID": [
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
},
{
"Disabled": true,
"Group": {
"Disabled": true,
"Name": "sample string 2"
},
"Selected": true,
"Text": "sample string 3",
"Value": "sample string 4"
}
],
"ROWID": "3afbcdcc-3d49-4711-b314-d535b0d0a2b1",
"Buying_ID": 1,
"Property_ID": 1,
"UserID": 1,
"Bought_Date": "2026-09-20T18:21:09.0183484-05:00",
"Bought_Price": 1.0,
"Bought_Percentag": 1.0,
"CreatedDate": "2026-09-20T18:21:09.0183484-05:00",
"CreatedBy": "b5fc130c-788e-41d7-ab99-55dd2d6fa4b9",
"UpdatedDate": "2026-09-20T18:21:09.0183484-05:00",
"UpdatedBy": "093a9fb7-04e1-447b-9753-06c9bacf7d11",
"ApproveDate": "2026-09-20T18:21:09.0183484-05:00",
"ApprovedBy": "ca908b30-62d4-4152-be0c-8af437b45806",
"CurrentStatus": 1,
"Notes": "sample string 2"
}
application/xml, text/xml
Sample:
<PropertyBuying xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.ViewModel">
<ApproveDate>2026-09-20T18:21:09.0183484-05:00</ApproveDate>
<ApprovedBy>ca908b30-62d4-4152-be0c-8af437b45806</ApprovedBy>
<Bought_Date>2026-09-20T18:21:09.0183484-05:00</Bought_Date>
<Bought_Percentag>1</Bought_Percentag>
<Bought_Price>1</Bought_Price>
<Buying_ID>1</Buying_ID>
<CreatedBy>b5fc130c-788e-41d7-ab99-55dd2d6fa4b9</CreatedBy>
<CreatedDate>2026-09-20T18:21:09.0183484-05:00</CreatedDate>
<CurrentStatus>1</CurrentStatus>
<Notes>sample string 2</Notes>
<PropertyID xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web.Mvc">
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
<d2p1:SelectListItem>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Group>
<d2p1:Disabled>true</d2p1:Disabled>
<d2p1:Name>sample string 2</d2p1:Name>
</d2p1:Group>
<d2p1:Selected>true</d2p1:Selected>
<d2p1:Text>sample string 3</d2p1:Text>
<d2p1:Value>sample string 4</d2p1:Value>
</d2p1:SelectListItem>
</PropertyID>
<Property_ID>1</Property_ID>
<ROWID>3afbcdcc-3d49-4711-b314-d535b0d0a2b1</ROWID>
<UpdatedBy>093a9fb7-04e1-447b-9753-06c9bacf7d11</UpdatedBy>
<UpdatedDate>2026-09-20T18:21:09.0183484-05:00</UpdatedDate>
<UserID>1</UserID>
</PropertyBuying>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | ResultStatus |
None. |
|
| Message | string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": {}
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Generics"> <Data /> <Message>sample string 1</Message> <Status>Success</Status> </Result>