Offers: post

Create a new offer for a property.

Request - POST https://api-uat.vtopenview.com/offers

You will need to supply a request body with this method.
You will need to include your access token upon making a request. For more information, see the authentication and authorization page.

Example request with authorization:

curl -- POST Base URI: https://api-uat.vtopenview.com/offers
--header "Authorization: Bearer MTQ0NjJkZmQ5OTM2NDE1ghNNBiuyUYUN"

Request Body
Example request body:

Content-Type: application/json
{
"PropertyId": long,
"ApplicantId": long,
"OfferPrice": decimal,
"OfferDate": "datetime",
"IsLettings": boolean,
"OfferNotes": string,
"OfferConditions": string
"DocumentTypeId": integer,
"Records": [
{
"RecordTypeId": integer,
"RecordId": long
}
],
"FileName": "string",
"FileBase64String": "string",
"ExpiryDate": "datetime",
"UploadToPortals": boolean
}

Document Type:

The list below describes the possible document type ids.

Response

If successful, this method returns a response body with the following structure:

Example response:

HTTPS 200 OK
Content-Type: application/json
[
{
"DocumentId": long,
"RecordId": long,
"RecordTypeId": integer,
"DocumentTypeId": integer,
"DocumentTypeName": string,
"FileName": string,
"Shared": boolean,
"LastUpdateUserId": long,
"LastUpdateUserForeName": string,
"LastUpdateUserSurName": string,
"LastUpdateIP": string,
"LastUpdate": "date",
"Icon": "string",
"MediaId": long,
"MediaGUID": string,
"MediaURLPrimary": string,
"FileBase64": string,
"UploadToPortals": boolean,
"ExpirationDate": "date",
"PasswordProtected": boolean,
"Password": string,
"Public": boolean,
"ProofType": integer,
"LinkedName": string,
"Compliance": boolean,
"IsImage": boolean,
"FileSize": float
}
]