Resource type: priceOffer
With this API call, the field “Purchase price offer” of the property search can be read out from “Properties >> Tab Prospects” or “Contacs >> Tab Property search”.
Parameters:
estateId
INTEGER. MANDATORY.addressId
INTEGER. MANDATORY.
Example:
{ "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:get", "resourceid": "", "identifier": "", "resourcetype": "priceOffer", "parameters": { "estateId": 1021, "addressId": 6101 } }
Response:
priceOffer
Purchase price offer of the interested party for the property with currency unit.
Response example:
{ "status": { "code": 200, "errorcode": 0, "message": "OK" }, "response": { "results": [ { "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:get", "resourceid": "", "resourcetype": "priceOffer", "cacheable": false, "identifier": "", "data": { "meta": { "cntabsolute": null }, "records": [ { "id": 0, "type": "", "elements": { "priceOffer": "350.000,00 \u20ac" } } ] }, "status": { "errorcode": 0, "message": "OK" } } ] } }