CompCreateRequest
A deal to record: the one property it is about, its numbers, its parties and its sources.
Every rule is checked server-side and answered with 422: a signing or a completion
date is needed, land takes no yield, a portfolio needs its number of properties, a party
is a contact or company in your network, a source carries exactly the link its kind needs.
When the deal looks like one your organisation already has, nothing is recorded and the
candidates come back with 409; send it again with allowDuplicate to record it anyway.
- propertyType:requiredProperties: 14
The property the deal is about: one of your records by id, or a new record for somebody else's building.
- allowType: boolean
Duplicate Record the deal even when it looks like one your organisation already has.
- completedType: boolean
Is Planned The completion date is planned, not reached; the deal is then filed under its signing date.
- completedType: null | stringFormat: date
On Completion date (ISO 8601 date)
- locationType: enumnullable
Precision address(default), orareato show only the deal's area when its address is not public.valuesaddressarea - nameType: null | string
The deal's name; the property's name is shown when omitted.
- partiesType: …50Properties: 4
The deal's parties
- priceType: nullableProperties: 3
The price with its currency;
scalemay be used ({ "value": 180, "currency": "SEK", "scale": "millions" }). - priceType: boolean
Approximate Whether the price is approximate
- priceType: enumnullable
Certainty How sure you are about the price;
confirmedwhen omitted with a price.valuesconfirmedreportedestimated - priceType: boolean
Unknown The price is known to be unknown; send no price then.
- signedType: null | stringFormat: date
On Signing date (ISO 8601 date)
- sourcesType: …50Properties: 10
Where your team learned about the deal
- streetType: null | string
Address max length:256The deal's street address; the deal lacks its address when omitted.
- yieldType: null | number | stringFormat: double
The yield in percent (5.0 = 5%); never for land.
- yieldType: boolean
Approximate Whether the yield is approximate
- yieldType: enumnullable
Certainty confirmed, reported or estimated
valuesconfirmedreportedestimated