### Example Json

{
  "secret": "x123sf567sdfscvgh",
  "application": {
    "id": 12345,
    "timestamp": "1997-07-16T19:20:30+01:00"
  }
}

### Example Curl

curl -X POST -H "Content-Type: application/json" -d '{
  "secret": "x123sf567sdfscvgh",
  "application": {
    "id": 12345,
    "timestamp": "1997-07-16T19:20:30+01:00"
  }
}' "https://app.tenantoptions.com.au/api/v1/inspect_real_estate/property_inspection_status"

### Example Javascript AJAX

const settings = {
  "async": true,
  "crossDomain": true,
  "url": "https://app.tenantoptions.com.au/api/v1/inspect_real_estate/property_inspection_status",
  "method": "POST",
  "headers": {
    "content-type": "application/json"
  },
  "processData": false,
  "data": {
    "secret": "x123sf567sdfscvgh",
    "application": {
      "id": 12345,
      "timestamp": "1997-07-16T19:20:30+01:00"
    }
  }
}

$.ajax(settings).done(function (response) {
  console.log(response);
});

Supported Formats

json, jsonp

Params

Param name Description
secret
required

Secret token provided by the Tenant Options IT team

Validations:

  • Must be a String

application
required

Validations:

  • Must be a Hash

application[id]
required

The Inspect Real Estate property application id number

Validations:

  • Must be a number.

application[timestamp]
required

The time the applicant inspected the property

Validations:

  • Must be a String


Metadata:
--- YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)