Download OpenAPI specification:Download
Get list of allowed values for a field
domain required | string Example: role Name of the domain to get |
[- {
- "code": "SYSADMIN",
- "label": "System Administrator",
- "sequence": 1
}
]
Request a location to upload a file
name required | string |
mimeType | string |
entity | string |
entityId | string |
{- "name": "Some file name",
- "mimeType": "application/pdf",
- "entity": "Upload",
- "entityId": 123
}
{- "id": 234,
- "key": "location/2020/08/28/abcde-1234-adfg-12-asdfasd",
- "method": "PUT",
}
Retrieves, and possibly transforms, an uploaded file
fileId required | integer Numeric ID of the file to get |
transform required | string Enum: "shp2json" "kmz2json" "mitab2json" "shp2db" "kmz2db" "mitab2db" |
outFormat | string Value: "arcgis" Used if returning JSON to request it in ArcGIS format, otherwise comes as GeoJSON |
geometryType | string Enum: "Point" "LineString" "Polygon" Used to describe the uploaded spatial data geometry type |
bufferDistance | integer Used to describe the distance of a buffer when convert a LineString to Polygon |
{ }
Get the status of a system job
jobId required | integer Numeric ID of the job to get |
{- "type": "GENERATE_PDF",
- "status": "CREATED",
- "request": { },
- "response": { },
- "scheduledAt": "2020-08-01T03:36:00.000Z",
- "runCount": 0,
- "userId": 123
}
List LGAs
returnGeometry | boolean Example: returnGeometry=false Includes geometry in response |
filter | string Example: filter=name:Moreland%,createdAfter:2020-08-06 Filters to apply to records |
limit | integer [ 1 .. 1000 ] Example: limit=50 Max number of records to return |
offset | integer >= 0 Example: offset=100 Used for paging - offset from start |
order | string Example: order=name,-createdAt Sort order for results - hyphen prefix reverses order |
{- "LocalGovernmentArea": [
- {
- "id": 1,
- "name": "CENTRAL COAST COUNCIL",
- "state": "NSW",
- "shape": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
], - "bbox": [
- 0,
- 0,
- 0,
- 0
]
}
}
], - "Info": {
- "offset": 10,
- "limit": 50,
- "count": 67
}
}
Get LGAs
returnGeometry | boolean Example: returnGeometry=false Includes geometry in response |
{- "id": 1,
- "name": "CENTRAL COAST COUNCIL",
- "state": "NSW",
- "shape": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
], - "bbox": [
- 0,
- 0,
- 0,
- 0
]
}
}
List States
returnGeometry | boolean Example: returnGeometry=false Includes geometry in response |
filter | string Example: filter=name:Moreland%,createdAfter:2020-08-06 Filters to apply to records |
order | string Example: order=name,-createdAt Sort order for results - hyphen prefix reverses order |
{- "State": [
- {
- "id": 1,
- "name": "New South Wales",
- "abbrev": "NSW",
- "shape": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
], - "bbox": [
- 0,
- 0,
- 0,
- 0
]
}
}
], - "Info": {
- "count": 67
}
}
Get selected State
returnGeometry | boolean Example: returnGeometry=false Includes geometry in response |
{- "id": 1,
- "name": "New South Wales",
- "abbrev": "NSW",
- "shape": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
], - "bbox": [
- 0,
- 0,
- 0,
- 0
]
}
}
Raise a support ticket
summary required | string <= 40 characters |
description required | string <= 250 characters |
category required | string [ 5 .. 40 ] characters |
isApplicationAccessible | boolean |
isDataCorrupted | boolean |
isResponseHandlingIssue | boolean |
name required | string <= 50 characters |
email required | string <email> |
phoneNumber required | string <= 16 characters \+[1-9]\d{1,14}$ |
recaptcha required | string |
{- "summary": "This is a short description of my issue.",
- "description": "This is a long description of my issue.",
- "category": "Data issue",
- "isApplicationAccessible": false,
- "isDataCorrupted": false,
- "isResponseHandlingIssue": false,
- "name": "Gary Johnson",
- "email": "gary@smarterwx.com.au",
- "phoneNumber": "+61393213444",
- "recaptcha": "asdf9876asdf9867asd"
}
Return a list of notices
returnActiveOnly | boolean Example: returnActiveOnly=true Only return notices that should be displayed |
filter | string Example: filter=startAfter:2021-05-30 A filter to be applied to returned results |
limit | number Example: limit=5 |
offset | number Example: offset=0 |
fields | string Example: fields=startAt,endAt,title List of fields to be returned for each item |
include | string Example: include=User List of additional data to be returned |
order | string Example: order=-createdAt Describes how to sort the results |
noticeType | string Example: noticeType=GENERAL Type of notices to be return |
organisations | string Example: organisations=11,23,1423 ID of organisations separated by comma |
withHidden | boolean Example: withHidden=false Return notice that is already mark as hidden |
{- "Notices": [
- {
- "category": "IMPORTANT",
- "targetRoles": [
- "SYSADMIN"
], - "isUserAbleToHide": false,
- "title": "Something big is coming",
- "text": "Get ready for the big thing that is coming",
- "callToActionLabel": "Press the button",
- "startAt": "2021-05-30",
- "endAt": "2021-06-30",
- "icon": "info",
- "noticeType": "GENERAL",
- "organisations": [
- {
- "id": 11
}, - {
- "id": 435
}, - {
- "id": 1002
}
]
}
], - "Info": {
- "offset": 0,
- "limit": 10,
- "count": 3
}
}
Create a new notice
category required | string Enum: "IMPORTANT" "NOTICE" "INFORMATION" |
targetRoles required | Array of strings Items Enum: "SYSADMIN" "DBYDADMIN" "AOADMIN" "ENQUIRER" "UNAUTHENTICATED" |
isUserAbleToHide | boolean |
title required | string <= 50 characters |
text | string <= 250 characters |
callToActionLabel | string <= 30 characters |
callToActionLink | string <= 250 characters |
startAt required | string |
endAt required | string |
icon required | string <= 50 characters |
noticeType | string <= 10 characters Enum: "GENERAL" "MEMBER" |
organisations | Array of objects |
{- "category": "IMPORTANT",
- "targetRoles": [
- "SYSADMIN"
], - "isUserAbleToHide": false,
- "title": "Something big is coming",
- "text": "Get ready for the big thing that is coming",
- "callToActionLabel": "Press the button",
- "startAt": "2021-05-30",
- "endAt": "2021-06-30",
- "icon": "info",
- "noticeType": "GENERAL",
- "organisations": [
- {
- "id": 11
}, - {
- "id": 435
}, - {
- "id": 1002
}
]
}
{- "category": "IMPORTANT",
- "targetRoles": [
- "SYSADMIN"
], - "isUserAbleToHide": false,
- "title": "Something big is coming",
- "text": "Get ready for the big thing that is coming",
- "callToActionLabel": "Press the button",
- "startAt": "2021-05-30",
- "endAt": "2021-06-30",
- "icon": "info",
- "noticeType": "GENERAL",
- "organisations": [
- {
- "id": 11
}, - {
- "id": 435
}, - {
- "id": 1002
}
]
}
Return a list of notices
limit | number Example: limit=5 |
offset | number Example: offset=0 |
fields | string Example: fields=startAt,endAt,title List of fields to be returned for each item |
order | string Example: order=-createdAt Describes how to sort the results |
{- "Notices": [
- {
- "category": "IMPORTANT",
- "targetRoles": [
- "SYSADMIN"
], - "isUserAbleToHide": false,
- "title": "Something big is coming",
- "text": "Get ready for the big thing that is coming",
- "callToActionLabel": "Press the button",
- "startAt": "2021-05-30",
- "endAt": "2021-06-30",
- "icon": "info",
- "noticeType": "GENERAL",
- "organisations": [
- {
- "id": 11
}, - {
- "id": 435
}, - {
- "id": 1002
}
]
}
], - "Info": {
- "offset": 0,
- "limit": 10,
- "count": 3
}
}
{- "category": "IMPORTANT",
- "targetRoles": [
- "SYSADMIN"
], - "isUserAbleToHide": false,
- "title": "Something big is coming",
- "text": "Get ready for the big thing that is coming",
- "callToActionLabel": "Press the button",
- "startAt": "2021-05-30",
- "endAt": "2021-06-30",
- "icon": "info",
- "noticeType": "GENERAL",
- "organisations": [
- {
- "id": 11
}, - {
- "id": 435
}, - {
- "id": 1002
}
]
}
Update a notice
category required | string Enum: "IMPORTANT" "NOTICE" "INFORMATION" |
targetRoles required | Array of strings Items Enum: "SYSADMIN" "DBYDADMIN" "AOADMIN" "ENQUIRER" "UNAUTHENTICATED" |
isUserAbleToHide | boolean |
title required | string <= 50 characters |
text | string <= 250 characters |
callToActionLabel | string <= 30 characters |
callToActionLink | string <= 250 characters |
startAt required | string |
endAt required | string |
icon required | string <= 50 characters |
noticeType | string <= 10 characters Enum: "GENERAL" "MEMBER" |
organisations | Array of objects |
{- "category": "IMPORTANT",
- "targetRoles": [
- "SYSADMIN"
], - "isUserAbleToHide": false,
- "title": "Something big is coming",
- "text": "Get ready for the big thing that is coming",
- "callToActionLabel": "Press the button",
- "startAt": "2021-05-30",
- "endAt": "2021-06-30",
- "icon": "info",
- "noticeType": "GENERAL",
- "organisations": [
- {
- "id": 11
}, - {
- "id": 435
}, - {
- "id": 1002
}
]
}
{- "category": "IMPORTANT",
- "targetRoles": [
- "SYSADMIN"
], - "isUserAbleToHide": false,
- "title": "Something big is coming",
- "text": "Get ready for the big thing that is coming",
- "callToActionLabel": "Press the button",
- "startAt": "2021-05-30",
- "endAt": "2021-06-30",
- "icon": "info",
- "noticeType": "GENERAL",
- "organisations": [
- {
- "id": 11
}, - {
- "id": 435
}, - {
- "id": 1002
}
]
}
Create a web launch request
requestType | string Value: "WEB_ENQUIRY_AUTOMATION" |
object | |
isDryRun | boolean Indicates is only for testing and not create any records in database |
{- "requestType": "WEB_ENQUIRY_AUTOMATION",
- "data": {
- "userReference": "NBN Job Ref 124",
- "digStartAt": "2020-08-08",
- "digEndAt": "2020-08-15",
- "shape": {
- "type": "Polygon",
- "coordinates": [
- [
- [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
], - [
- 0,
- 0
]
]
], - "bbox": [
- 0,
- 0,
- 0,
- 0
]
}, - "isPlanningJob": true,
- "activityTypes": [
- "MANUAL_EXCAVATION",
- "HORIZ_BORING"
], - "authorityId": 134,
- "otherAuthorityName": "Jim Digs",
- "notes": "We are digging a hole.",
- "locationTypes": [
- "Road Reserve"
], - "locationsInRoad": [
- "Road",
- "Nature Strip"
], - "addressLine1": "613 King St",
- "autoRenewUntil": "2021-06-01",
- "isAutoSubmit": true
}, - "isDryRun": true
}
{- "uuid": "fd07b9f3-dd85-4615-a1e8-8fced35ef2e5",
- "enquiryCreateUrl": "https://smarterwx.1100.com.au/landing/fd07b9f3-dd85-4615-a1e8-8fced35ef2e5/enquirycreate",
}
Get a web launch request
webLaunchRequestId required | string <uuid> Example: fd07b9f3-dd85-4615-a1e8-8fced35ef2e5 UUID of the web launch request to retrieve |
{- "id": 234,
- "uuid": "fd07b9f3-dd85-4615-a1e8-8fced35ef2e5",
- "requestType": "WEB_ENQUIRY_AUTOMATION",
- "payload": { },
- "response": { },
- "userId": 123,
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z"
}
Proxy external image as base64
imageUrl required | string <url> Example: imageUrl=https://www.example.com/image/car.jpg Image url of the image that need to be proxied |
"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAUFBQUFBQUGBgUICA..."