Selling price offer

Resource type: priceOffer

With this API call, the field “Purchase price offer” from “Properties >> Tab Prospects” and “Contacs >> Tab Property search” of the property search can be set.

By writing a purchase price offer, the advisory level is set to “C – in intensive communication” if it was lower than C before.

To be able to write the data, write rights on address and property are necessary.

If there is no entry for an address and property pair, the API call creates an entry on the “Properties >> Offered till now” tab.

No activity is written by the action. If you want to write an activity for this action, please use the additional API call “Create activities” with the action type “Kaufpreisangebot” (selling price offer).

Parameters:

  • estateId
    INTEGER. MANDATORY.
  • addressId
    INTEGER. MANDATORY.
  • priceOffer
    DECIMAL. MANDATORY. Purchase price offer of the interested party for the property without currency unit. The currency unit is automatically determined by the currency of the property.

Example:

    {
        "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do",
        "resourceid": "",
        "identifier": "",
        "resourcetype": "priceOffer",
        "parameters": {
            "estateId": 1061,
            "addressId": 6103,
            "priceOffer": 350000
        }
    }

Response: success, if successful

Response example:

{
    "status": {
        "code": 200,
        "errorcode": 0,
        "message": "OK"
    },
    "response": {
        "results": [
            {
                "actionid": "urn:onoffice-de-ns:smart:2.5:smartml:action:do",
                "resourceid": "",
                "resourcetype": "priceOffer",
                "cacheable": false,
                "identifier": "",
                "data": {
                    "meta": {
                        "cntabsolute": null
                    },
                    "records": [
                        {
                            "id": 0,
                            "type": "",
                            "elements": {
                                "success": "success"
                            }
                        }
                    ]
                },
                "status": {
                    "errorcode": 0,
                    "message": "OK"
                }
            }
        ]
    }
}