POST api/Properties/PropertySale_InserORUpdate
Request Information
URI Parameters
None.
Body Parameters
SaveSaleProperty_InsertOrUpdateModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DBNo | integer |
None. |
|
| AppNo | integer |
None. |
|
| SalePropertyID | integer |
None. |
|
| LocationID | integer |
None. |
|
| CountryCurrencyID | integer |
None. |
|
| CountryCurrenctSymbol | string |
None. |
|
| SaleAmount | decimal number |
None. |
|
| IsNegotiable | boolean |
None. |
|
| SaleDate | date |
None. |
|
| ReasonForSelling | string |
None. |
|
| PropertyCondition | string |
None. |
|
| OtherDemands | string |
None. |
|
| UserProfileID | integer |
None. |
|
| IsActive | boolean |
None. |
|
| IsDeleted | boolean |
None. |
|
| UpdatedBy | integer |
None. |
|
| CreatedBy | integer |
None. |
|
| SaleServiceProvider | SaleServiceProviderModelInsertORUpdate |
None. |
|
| IsSaveSaleServiceProvider | boolean |
None. |
|
| SharholderConsents | Collection of PropertySale_ShareholdersConsentInsertORUdpate |
None. |
|
| IsShareHolderConsent | boolean |
None. |
|
| LogId | integer |
None. |
|
| SaleTermsAndConditionsArr | Collection of SaleReasonTermsAndConditions_InsertOrUpdateModel |
None. |
Request Formats
application/json, text/json
Sample:
{
"SaleTermsAndConditionsArr": [
{
"DBNo": 1,
"AppNo": 1,
"SalePropertyContractID": 1,
"SaleTermAndConditionID": 2,
"SalePropertyID": 3,
"TermAndCondition": "sample string 4",
"IsRequired": true,
"ParentID": 6,
"AddressTypeID": 7,
"OrderNo": 8,
"IsActive": true,
"IsDeleted": true,
"Notes": "sample string 11",
"CreatedBy": 12,
"UpdatedBy": 13
},
{
"DBNo": 1,
"AppNo": 1,
"SalePropertyContractID": 1,
"SaleTermAndConditionID": 2,
"SalePropertyID": 3,
"TermAndCondition": "sample string 4",
"IsRequired": true,
"ParentID": 6,
"AddressTypeID": 7,
"OrderNo": 8,
"IsActive": true,
"IsDeleted": true,
"Notes": "sample string 11",
"CreatedBy": 12,
"UpdatedBy": 13
}
],
"DBNo": 1,
"AppNo": 1,
"SalePropertyID": 1,
"LocationID": 1,
"CountryCurrencyID": 2,
"CountryCurrenctSymbol": "sample string 3",
"SaleAmount": 4.0,
"IsNegotiable": true,
"SaleDate": "2026-04-06T21:34:41.4072099-05:00",
"ReasonForSelling": "sample string 7",
"PropertyCondition": "sample string 8",
"OtherDemands": "sample string 9",
"UserProfileID": 10,
"IsActive": true,
"IsDeleted": true,
"UpdatedBy": 13,
"CreatedBy": 14,
"SaleServiceProvider": {
"DBNo": 1,
"AppNo": 1,
"SalePropertyID": 1,
"SalePropertyManagerID": 2,
"PropertyListingOptionID": 3,
"SaleServiceProviderUserProfileID": 1,
"SaleServiceProviderProfessionID": 1,
"ServiceChargeOptionID": 1,
"SaleServiceProvider_Charges": 4.0,
"feePercentage": 5.0,
"flatFee": 6.0,
"CreatedBy": 7,
"UpdatedBy": 8,
"IsSaleServiceProviderAdded": true,
"IsActive": true,
"IsDeleted": true
},
"IsSaveSaleServiceProvider": true,
"SharholderConsents": [
{},
{}
],
"IsShareHolderConsent": true,
"LogId": 1
}
application/xml, text/xml
Sample:
<SaveSaleProperty_InsertOrUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessAccessLayer.Model.PropertyModule.SaleModule">
<AppNo>1</AppNo>
<CountryCurrenctSymbol>sample string 3</CountryCurrenctSymbol>
<CountryCurrencyID>2</CountryCurrencyID>
<CreatedBy>14</CreatedBy>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<IsNegotiable>true</IsNegotiable>
<IsSaveSaleServiceProvider>true</IsSaveSaleServiceProvider>
<IsShareHolderConsent>true</IsShareHolderConsent>
<LocationID>1</LocationID>
<LogId>1</LogId>
<OtherDemands>sample string 9</OtherDemands>
<PropertyCondition>sample string 8</PropertyCondition>
<ReasonForSelling>sample string 7</ReasonForSelling>
<SaleAmount>4</SaleAmount>
<SaleDate>2026-04-06T21:34:41.4072099-05:00</SaleDate>
<SalePropertyID>1</SalePropertyID>
<SaleServiceProvider>
<AppNo>1</AppNo>
<CreatedBy>7</CreatedBy>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<IsSaleServiceProviderAdded>true</IsSaleServiceProviderAdded>
<PropertyListingOptionID>3</PropertyListingOptionID>
<SalePropertyID>1</SalePropertyID>
<SalePropertyManagerID>2</SalePropertyManagerID>
<SaleServiceProviderProfessionID>1</SaleServiceProviderProfessionID>
<SaleServiceProviderUserProfileID>1</SaleServiceProviderUserProfileID>
<SaleServiceProvider_Charges>4</SaleServiceProvider_Charges>
<ServiceChargeOptionID>1</ServiceChargeOptionID>
<UpdatedBy>8</UpdatedBy>
<feePercentage>5</feePercentage>
<flatFee>6</flatFee>
</SaleServiceProvider>
<SaleTermsAndConditionsArr>
<SaleReasonTermsAndConditions_InsertOrUpdateModel>
<AddressTypeID>7</AddressTypeID>
<AppNo>1</AppNo>
<CreatedBy>12</CreatedBy>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Notes>sample string 11</Notes>
<OrderNo>8</OrderNo>
<ParentID>6</ParentID>
<SalePropertyContractID>1</SalePropertyContractID>
<SalePropertyID>3</SalePropertyID>
<SaleTermAndConditionID>2</SaleTermAndConditionID>
<TermAndCondition>sample string 4</TermAndCondition>
<UpdatedBy>13</UpdatedBy>
</SaleReasonTermsAndConditions_InsertOrUpdateModel>
<SaleReasonTermsAndConditions_InsertOrUpdateModel>
<AddressTypeID>7</AddressTypeID>
<AppNo>1</AppNo>
<CreatedBy>12</CreatedBy>
<DBNo>1</DBNo>
<IsActive>true</IsActive>
<IsDeleted>true</IsDeleted>
<IsRequired>true</IsRequired>
<Notes>sample string 11</Notes>
<OrderNo>8</OrderNo>
<ParentID>6</ParentID>
<SalePropertyContractID>1</SalePropertyContractID>
<SalePropertyID>3</SalePropertyID>
<SaleTermAndConditionID>2</SaleTermAndConditionID>
<TermAndCondition>sample string 4</TermAndCondition>
<UpdatedBy>13</UpdatedBy>
</SaleReasonTermsAndConditions_InsertOrUpdateModel>
</SaleTermsAndConditionsArr>
<SharholderConsents>
<PropertySale_ShareholdersConsentInsertORUdpate />
<PropertySale_ShareholdersConsentInsertORUdpate />
</SharholderConsents>
<UpdatedBy>13</UpdatedBy>
<UserProfileID>10</UserProfileID>
</SaveSaleProperty_InsertOrUpdateModel>
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>