Ready to let
curl --request GET \
--url https://api.sortx.co.uk/handovers/voids/ready \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sortx.co.uk/handovers/voids/ready', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sortx.co.uk/handovers/voids/ready"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"today": "<string>",
"cards": [
{
"void": {
"id": "<string>",
"propertyId": "<string>",
"unitId": "<string>",
"label": "<string>",
"sourceTenancyId": "<string>",
"landlord": {
"contactId": "<string>",
"name": "<string>"
},
"emptySince": "<string>",
"days": 123,
"targetReadyOn": "<string>",
"late": true,
"stage": "inspection",
"stageIndex": 123,
"stageLabel": "<string>",
"status": "open",
"outcome": "let",
"outcomeLabel": "<string>",
"closedOn": "<string>",
"closedAt": "<string>",
"closedByUserId": "<string>",
"holdingUpNote": "<string>",
"holdingUp": "<string>",
"budget": {
"committedMinor": 123,
"approvedMinor": 123,
"leftMinor": 123,
"over": true,
"overByMinor": 123,
"percent": 123
},
"works": [
{
"repairId": "<string>",
"reference": "<string>",
"title": "<string>",
"kind": "<string>",
"purpose": "works",
"contractorName": "<string>",
"status": "awaiting_quote",
"statusLabel": "<string>",
"costMinor": 123,
"blockedNote": "<string>",
"visitOn": "<string>"
}
],
"taskCount": 123,
"openTaskCount": 123,
"checks": [
{
"check": "works_done",
"label": "<string>",
"state": "pass",
"note": "<string>",
"manual": true
}
],
"checksPassed": 123,
"checksTotal": 123,
"readyToLet": true,
"landlordAsk": {
"repairId": "<string>",
"amountMinor": 123,
"askedAt": "<string>",
"approved": true
},
"revision": 123
},
"handed": true
}
]
}{
"_tag": "TenantCreateRejected",
"reason": "<string>",
"field": "<string>"
}{
"_tag": "Unauthenticated"
}{
"_tag": "TenantSuspended",
"tenantId": "<string>",
"reason": "<string>"
}{
"_tag": "EntitlementMissing",
"tenantId": "<string>",
"moduleId": "<string>"
}{
"_tag": "TenantNotFound",
"slug": "<string>"
}{
"_tag": "WebhookDuplicate",
"integration": "<string>",
"externalId": "<string>"
}{
"_tag": "RateLimited",
"key": "<string>",
"retryAfterSeconds": 123,
"message": "<string>"
}{
"_tag": "IntegrationUnavailable",
"integration": "<string>",
"detail": "<string>"
}handovers
Ready to let
Ready to let: each open void’s eight final checks, read from the records, and the voids recently handed to lettings
GET
/
handovers
/
voids
/
ready
Ready to let
curl --request GET \
--url https://api.sortx.co.uk/handovers/voids/ready \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sortx.co.uk/handovers/voids/ready', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sortx.co.uk/handovers/voids/ready"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"today": "<string>",
"cards": [
{
"void": {
"id": "<string>",
"propertyId": "<string>",
"unitId": "<string>",
"label": "<string>",
"sourceTenancyId": "<string>",
"landlord": {
"contactId": "<string>",
"name": "<string>"
},
"emptySince": "<string>",
"days": 123,
"targetReadyOn": "<string>",
"late": true,
"stage": "inspection",
"stageIndex": 123,
"stageLabel": "<string>",
"status": "open",
"outcome": "let",
"outcomeLabel": "<string>",
"closedOn": "<string>",
"closedAt": "<string>",
"closedByUserId": "<string>",
"holdingUpNote": "<string>",
"holdingUp": "<string>",
"budget": {
"committedMinor": 123,
"approvedMinor": 123,
"leftMinor": 123,
"over": true,
"overByMinor": 123,
"percent": 123
},
"works": [
{
"repairId": "<string>",
"reference": "<string>",
"title": "<string>",
"kind": "<string>",
"purpose": "works",
"contractorName": "<string>",
"status": "awaiting_quote",
"statusLabel": "<string>",
"costMinor": 123,
"blockedNote": "<string>",
"visitOn": "<string>"
}
],
"taskCount": 123,
"openTaskCount": 123,
"checks": [
{
"check": "works_done",
"label": "<string>",
"state": "pass",
"note": "<string>",
"manual": true
}
],
"checksPassed": 123,
"checksTotal": 123,
"readyToLet": true,
"landlordAsk": {
"repairId": "<string>",
"amountMinor": 123,
"askedAt": "<string>",
"approved": true
},
"revision": 123
},
"handed": true
}
]
}{
"_tag": "TenantCreateRejected",
"reason": "<string>",
"field": "<string>"
}{
"_tag": "Unauthenticated"
}{
"_tag": "TenantSuspended",
"tenantId": "<string>",
"reason": "<string>"
}{
"_tag": "EntitlementMissing",
"tenantId": "<string>",
"moduleId": "<string>"
}{
"_tag": "TenantNotFound",
"slug": "<string>"
}{
"_tag": "WebhookDuplicate",
"integration": "<string>",
"externalId": "<string>"
}{
"_tag": "RateLimited",
"key": "<string>",
"retryAfterSeconds": 123,
"message": "<string>"
}{
"_tag": "IntegrationUnavailable",
"integration": "<string>",
"detail": "<string>"
}