Download OpenAPI specification:Download
Search over enquiries
filter | string Example: filter=digStartAfter:2020-08-01 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 |
include | string Example: include=Address, Referral, WorkingForAuthority Provide list of extended properties to return |
fields | string Example: fields=userReference,digStartAt List of basic properties to return (* indicates all) |
order | string Example: order=userReference,-createdAt Sort order for results - hyphen prefix reverses order |
returnGeometry | boolean Example: returnGeometry=false Includes geometry in response |
{- "Info": {
- "offset": 10,
- "limit": 50,
- "count": 67
}, - "Enquiries": [
- {
- "id": 234,
- "userReference": "NBN Job Ref 124",
- "digStartAt": "2020-08-08",
- "digEndAt": "2020-08-15",
- "shape": { },
- "externalId": 20001234,
- "isPlanningJob": true,
- "activityTypes": [
- "string"
], - "authorityId": 13,
- "otherAuthorityName": "Jim Digs",
- "notes": "We are digging a hole.",
- "locationTypes": [
- "Road Reserve"
], - "locationsInRoad": [
- "Road"
], - "autoRenewUntil": "2020-11-01",
- "isSandboxTest": true,
- "source": "WEB",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "Address": {
- "line1": "613 King St",
- "line2": null,
- "locality": "West Melbourne",
- "state": "VIC",
- "country": "AUS",
- "postcode": 3003
}, - "Referrals": [
- {
- "id": 234,
- "status": "CREATED",
- "externalId": 2123456789,
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "Organisation": {
- "id": 456,
- "name": "Victoria Gas",
- "role": "ASSETOWNER",
- "isDisabled": false,
- "contactName": "Assets Team",
- "contactEmail": "assets@melbournewater.com.au",
- "contactPhoneNumber": 1300123456,
- "contactEmergencyPhone": 1300123456,
- "LogoImageFile": {
- "id": 1,
- "encodedFile": "iVBORw0KGgoAAAANSUhEUgAAB9AAAAKkCAMAAABvbVQ7AAAABGdBTUEAALGP\\hLHSHHksahkhkdbcsiugf",
- "name": "example.png"
}, - "PrimaryContact": {
- "id": 324,
- "username": "asdf87safd876sfd",
- "email": "nobody@smarterwx.com",
- "role": "AOADMIN",
- "firstName": "Gary",
- "lastName": "Johnson",
- "phoneNumber": "040012345678"
}, - "safetyMessage": "Damaging telco infrastructure poses serious risks of major community disruption and costly repairs. Please follow all attached instructions and if necessary organise prior approval/coordination. The use of a skilled locator may be required. Ensure compliance with all specified safety measures.",
- "Tenant": {
- "id": 3,
- "name": "DBYD VIC & TAS"
}
}, - "ReferralConfiguration": {
- "primaryContent": {
- "webMap": false,
- "responseType": "response_body",
- "filenameValue": "asset",
- "filenameOption": "start_with"
}
}
}
]
}
]
}
Create enquiry
userReference | string <= 100 characters A user-supplied reference for this enquiry. |
digStartAt required | string <date> Start date for enquiry activity. Must be no earlier than today. |
digEndAt required | string <date> Start date for enquiry activity. Must be no earlier than digStartAt. |
required | object (Polygon) |
isPlanningJob required | boolean Indicates if this enquiry relates to planning and design (true) or excavation (false). |
activityTypes required | Array of strings non-empty unique An array of activity types. All values must be sourced from either the ENQ_ACT_DESIGN (isPlanningJob = true) or ENQ_ACT_EXCAVATE (isPlanningJob = false) domains. |
authorityId | integer >= 1 The organisation for whom the enquiry activity is being undertaken. The authorityId must be a valid value returned from a call to GET /community/organisations for the enquiry polygon. Omit this attribute for either a Private enquiry or an enquiry using a user-entered authority name (otherAuthorityName). |
otherAuthorityName | string <= 100 characters A user-entered name for the organisation for whom the enquiry activity is being undertaken. Should only be provided when no authorityId is entered. Omitting both authorityId and otherAuthorityName attributes indicates a Private enquiry. |
notes | string <= 500 characters User supplied notes regarding the enquiry activity. Useful for communicating additional details about the activity with DBYD members. |
locationTypes required | Array of strings non-empty unique Items Enum: "Road Reserve" "Private" A list of location types for the enquiry activity. |
locationsInRoad required | Array of strings non-empty unique Items Enum: "Road" "Nature Strip" "Footpath" Required when locationTypes includes Road Reserve. A list of locations within the Road Reserver where work is to be undertaken. |
source required | string [ 2 .. 16 ] characters An identifier to be used by any application lodging enquiries through the SmarterWX Sentinel API. This is used to identify the source of all enquiries. |
isSandboxTest | boolean When true, this enquiry is only processed against the asset owner's own sandbox referral configuration. Only available to user's who belong to an asset owner organisation. |
required | object (Address) |
autoRenewUntil | string |
userTimezone | string |
{- "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"
], - "source": "WEB",
- "isSandboxTest": true,
- "Address": {
- "line1": "613 King St",
- "line2": null,
- "locality": "West Melbourne",
- "state": "VIC",
- "country": "AUS",
- "postcode": 3003
}, - "autoRenewUntil": "2021-06-01",
- "userTimezone": "Australia/Melbourne\" responses: "
}
Get details of an enquiry
enquiryId required | integer >= 1 Example: 1 ID of the enquiry to retrieve |
shareId | string Example: shareId=abc1234 To validate is this a share enquiry. |
include | string Enum: "ConfirmationPDF" "LogoImageFile" Example: include=LogoImageFile Include confirmation pdf and/or logo in responses |
{- "id": 234,
- "userReference": "NBN Job Ref 124",
- "digStartAt": "2020-08-08",
- "digEndAt": "2020-08-15",
- "shape": { },
- "externalId": 20001234,
- "isPlanningJob": true,
- "activityTypes": [
- "string"
], - "authorityId": 13,
- "otherAuthorityName": "Jim Digs",
- "notes": "We are digging a hole.",
- "locationTypes": [
- "Road Reserve"
], - "locationsInRoad": [
- "Road"
], - "autoRenewUntil": "2020-11-01",
- "isSandboxTest": true,
- "source": "WEB",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "Address": {
- "line1": "613 King St",
- "line2": null,
- "locality": "West Melbourne",
- "state": "VIC",
- "country": "AUS",
- "postcode": 3003
}, - "Referrals": [
- {
- "id": 234,
- "status": "CREATED",
- "externalId": 2123456789,
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "Organisation": {
- "id": 456,
- "name": "Victoria Gas",
- "role": "ASSETOWNER",
- "isDisabled": false,
- "contactName": "Assets Team",
- "contactEmail": "assets@melbournewater.com.au",
- "contactPhoneNumber": 1300123456,
- "contactEmergencyPhone": 1300123456,
- "LogoImageFile": {
- "id": 1,
- "encodedFile": "iVBORw0KGgoAAAANSUhEUgAAB9AAAAKkCAMAAABvbVQ7AAAABGdBTUEAALGP\\hLHSHHksahkhkdbcsiugf",
- "name": "example.png"
}, - "PrimaryContact": {
- "id": 324,
- "username": "asdf87safd876sfd",
- "email": "nobody@smarterwx.com",
- "role": "AOADMIN",
- "firstName": "Gary",
- "lastName": "Johnson",
- "phoneNumber": "040012345678"
}, - "safetyMessage": "Damaging telco infrastructure poses serious risks of major community disruption and costly repairs. Please follow all attached instructions and if necessary organise prior approval/coordination. The use of a skilled locator may be required. Ensure compliance with all specified safety measures.",
- "Tenant": {
- "id": 3,
- "name": "DBYD VIC & TAS"
}
}, - "ReferralConfiguration": {
- "primaryContent": {
- "webMap": false,
- "responseType": "response_body",
- "filenameValue": "asset",
- "filenameOption": "start_with"
}
}
}
]
}
Update details of an enquiry
enquiryId required | integer >= 1 Example: 1 ID of the enquiry to update |
autoRenewUntil | string |
{- "autoRenewUntil": "2021-06-01"
}
{- "id": 234,
- "userReference": "NBN Job Ref 124",
- "digStartAt": "2020-08-08",
- "digEndAt": "2020-08-15",
- "shape": { },
- "externalId": 20001234,
- "isPlanningJob": true,
- "activityTypes": [
- "string"
], - "authorityId": 13,
- "otherAuthorityName": "Jim Digs",
- "notes": "We are digging a hole.",
- "locationTypes": [
- "Road Reserve"
], - "locationsInRoad": [
- "Road"
], - "autoRenewUntil": "2020-11-01",
- "isSandboxTest": true,
- "source": "WEB",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "Address": {
- "line1": "613 King St",
- "line2": null,
- "locality": "West Melbourne",
- "state": "VIC",
- "country": "AUS",
- "postcode": 3003
}, - "Referrals": [
- {
- "id": 234,
- "status": "CREATED",
- "externalId": 2123456789,
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "Organisation": {
- "id": 456,
- "name": "Victoria Gas",
- "role": "ASSETOWNER",
- "isDisabled": false,
- "contactName": "Assets Team",
- "contactEmail": "assets@melbournewater.com.au",
- "contactPhoneNumber": 1300123456,
- "contactEmergencyPhone": 1300123456,
- "LogoImageFile": {
- "id": 1,
- "encodedFile": "iVBORw0KGgoAAAANSUhEUgAAB9AAAAKkCAMAAABvbVQ7AAAABGdBTUEAALGP\\hLHSHHksahkhkdbcsiugf",
- "name": "example.png"
}, - "PrimaryContact": {
- "id": 324,
- "username": "asdf87safd876sfd",
- "email": "nobody@smarterwx.com",
- "role": "AOADMIN",
- "firstName": "Gary",
- "lastName": "Johnson",
- "phoneNumber": "040012345678"
}, - "safetyMessage": "Damaging telco infrastructure poses serious risks of major community disruption and costly repairs. Please follow all attached instructions and if necessary organise prior approval/coordination. The use of a skilled locator may be required. Ensure compliance with all specified safety measures.",
- "Tenant": {
- "id": 3,
- "name": "DBYD VIC & TAS"
}
}, - "ReferralConfiguration": {
- "primaryContent": {
- "webMap": false,
- "responseType": "response_body",
- "filenameValue": "asset",
- "filenameOption": "start_with"
}
}
}
]
}
Get referral details
enquiryId required | integer >= 1 Example: 1 ID of the enquiry being fetched |
referralId required | integer >= 1 Example: 1 ID of the referral being fetched |
returnGeometry | boolean Example: returnGeometry=false Includes geometry in response |
returnResponses | boolean Example: returnResponses=false Includes responses in response |
include | string Value: "LogoImageFile" Example: include=LogoImageFile Includes logo in response |
{- "id": 234,
- "status": "CREATED",
- "externalId": 2123456789,
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "Enquiry": {
- "id": 234,
- "userReference": "NBN Job Ref 124",
- "digStartAt": "2020-08-08",
- "digEndAt": "2020-08-15",
- "shape": { },
- "externalId": 20001234,
- "isPlanningJob": true,
- "activityTypes": [
- "string"
], - "authorityId": 13,
- "otherAuthorityName": "Jim Digs",
- "notes": "We are digging a hole.",
- "locationTypes": [
- "Road Reserve"
], - "locationsInRoad": [
- "Road"
], - "autoRenewUntil": "2020-11-01",
- "isSandboxTest": true,
- "source": "WEB",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "Address": {
- "line1": "613 King St",
- "line2": null,
- "locality": "West Melbourne",
- "state": "VIC",
- "country": "AUS",
- "postcode": 3003
}, - "Referrals": [
- {
- "id": 234,
- "status": "CREATED",
- "externalId": 2123456789,
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "Organisation": {
- "id": 456,
- "name": "Victoria Gas",
- "role": "ASSETOWNER",
- "isDisabled": false,
- "contactName": "Assets Team",
- "contactEmail": "assets@melbournewater.com.au",
- "contactPhoneNumber": 1300123456,
- "contactEmergencyPhone": 1300123456,
- "LogoImageFile": {
- "id": 1,
- "encodedFile": "iVBORw0KGgoAAAANSUhEUgAAB9AAAAKkCAMAAABvbVQ7AAAABGdBTUEAALGP\\hLHSHHksahkhkdbcsiugf",
- "name": "example.png"
}, - "PrimaryContact": {
- "id": 324,
- "username": "asdf87safd876sfd",
- "email": "nobody@smarterwx.com",
- "role": "AOADMIN",
- "firstName": "Gary",
- "lastName": "Johnson",
- "phoneNumber": "040012345678"
}, - "safetyMessage": "Damaging telco infrastructure poses serious risks of major community disruption and costly repairs. Please follow all attached instructions and if necessary organise prior approval/coordination. The use of a skilled locator may be required. Ensure compliance with all specified safety measures.",
- "Tenant": {
- "id": 3,
- "name": "DBYD VIC & TAS"
}
}, - "ReferralConfiguration": {
- "primaryContent": {
- "webMap": false,
- "responseType": "response_body",
- "filenameValue": "asset",
- "filenameOption": "start_with"
}
}
}
]
}, - "Organisation": {
- "id": 456,
- "name": "Victoria Gas",
- "role": "ASSETOWNER",
- "isDisabled": false,
- "contactName": "Assets Team",
- "contactEmail": "assets@melbournewater.com.au",
- "contactPhoneNumber": 1300123456,
- "contactEmergencyPhone": 1300123456,
- "LogoImageFile": {
- "id": 1,
- "encodedFile": "iVBORw0KGgoAAAANSUhEUgAAB9AAAAKkCAMAAABvbVQ7AAAABGdBTUEAALGP\\hLHSHHksahkhkdbcsiugf",
- "name": "example.png"
}, - "PrimaryContact": {
- "id": 324,
- "username": "asdf87safd876sfd",
- "email": "nobody@smarterwx.com",
- "role": "AOADMIN",
- "firstName": "Gary",
- "lastName": "Johnson",
- "phoneNumber": "040012345678"
}, - "safetyMessage": "Damaging telco infrastructure poses serious risks of major community disruption and costly repairs. Please follow all attached instructions and if necessary organise prior approval/coordination. The use of a skilled locator may be required. Ensure compliance with all specified safety measures.",
- "Tenant": {
- "id": 3,
- "name": "DBYD VIC & TAS"
}
}
}
Add response for a referral
enquiryId required | integer >= 1 Example: 1 ID of the enquiry being responded to |
referralId required | integer >= 1 Example: 1 ID of the referral being responded to |
body required | string |
Array of objects | |
Array of objects | |
safetyMessage | string [ 25 .. 320 ] characters |
webMapURL | string <uri> <= 2000 characters |
{- "body": "<DIV>Our response</DIV>",
- "Files": [
- {
- "id": 5678
}
], - "Links": [
- {
- "displayText": "Friendly name",
- "url": "URL"
}
], - "safetyMessage": "stringstringstringstrings",
}
{- "id": 1234,
- "referral_id": 3456,
- "body": "<DIV>Our response</DIV>",
- "Files": [
- {
- "id": 5678,
- "name": "Filename.pdf"
}
]
}
Download Combined file of enquiry
enquiryId required | integer >= 1 Example: 1 ID of the enquiry being responded to |
fileType required | string Value: "zip" Type of the file being responded to |
shareId | string Example: shareId=iOiJIUzI1NiIsInR5cCI6IkpXVCJ9... The shareId token if the enquiry is open from a shared link |
{- "File": {
- "id": 1234
}, - "Job": {
- "id": 1234,
- "type": "ENQUIRY_COMBINED_ZIP",
- "status": "CREATED",
- "createdAt": "2020-08-01T03:36:00.000Z"
}
}
Search over referrals
filter | string Example: filter=createdAfter:2020-08-01 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 |
fields | string Example: fields=createdAt,externalId List of basic properties to return (* indicates all) |
order | string Example: order=-createdAt Sort order for results - hyphen prefix reverses order |
{- "Info": {
- "offset": 10,
- "limit": 50,
- "count": 67
}, - "Referrals": [
- {
- "id": 234,
- "status": "CREATED",
- "externalId": 2123456789,
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "Enquiry": {
- "id": 234,
- "userReference": "NBN Job Ref 124",
- "digStartAt": "2020-08-08",
- "digEndAt": "2020-08-15",
- "shape": { },
- "externalId": 20001234,
- "isPlanningJob": true,
- "activityTypes": [
- "string"
], - "authorityId": 13,
- "otherAuthorityName": "Jim Digs",
- "notes": "We are digging a hole.",
- "locationTypes": [
- "Road Reserve"
], - "locationsInRoad": [
- "Road"
], - "autoRenewUntil": "2020-11-01",
- "isSandboxTest": true,
- "source": "WEB",
- "createdAt": "2020-08-01T03:36:00.000Z",
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "userId": 123,
- "Address": {
- "line1": "613 King St",
- "line2": null,
- "locality": "West Melbourne",
- "state": "VIC",
- "country": "AUS",
- "postcode": 3003
}, - "Referrals": [
- {
- "id": 234,
- "status": "CREATED",
- "externalId": 2123456789,
- "updatedAt": "2020-08-01T03:36:00.000Z",
- "Organisation": {
- "id": 456,
- "name": "Victoria Gas",
- "role": "ASSETOWNER",
- "isDisabled": false,
- "contactName": "Assets Team",
- "contactEmail": "assets@melbournewater.com.au",
- "contactPhoneNumber": 1300123456,
- "contactEmergencyPhone": 1300123456,
- "LogoImageFile": {
- "id": 1,
- "encodedFile": "iVBORw0KGgoAAAANSUhEUgAAB9AAAAKkCAMAAABvbVQ7AAAABGdBTUEAALGP\\hLHSHHksahkhkdbcsiugf",
- "name": "example.png"
}, - "PrimaryContact": {
- "id": 324,
- "username": "asdf87safd876sfd",
- "email": "nobody@smarterwx.com",
- "role": "AOADMIN",
- "firstName": "Gary",
- "lastName": "Johnson",
- "phoneNumber": "040012345678"
}, - "safetyMessage": "Damaging telco infrastructure poses serious risks of major community disruption and costly repairs. Please follow all attached instructions and if necessary organise prior approval/coordination. The use of a skilled locator may be required. Ensure compliance with all specified safety measures.",
- "Tenant": {
- "id": 3,
- "name": "DBYD VIC & TAS"
}
}, - "ReferralConfiguration": {
- "primaryContent": {
- "webMap": false,
- "responseType": "response_body",
- "filenameValue": "asset",
- "filenameOption": "start_with"
}
}
}
]
}, - "Organisation": {
- "id": 456,
- "name": "Victoria Gas",
- "role": "ASSETOWNER",
- "isDisabled": false,
- "contactName": "Assets Team",
- "contactEmail": "assets@melbournewater.com.au",
- "contactPhoneNumber": 1300123456,
- "contactEmergencyPhone": 1300123456,
- "LogoImageFile": {
- "id": 1,
- "encodedFile": "iVBORw0KGgoAAAANSUhEUgAAB9AAAAKkCAMAAABvbVQ7AAAABGdBTUEAALGP\\hLHSHHksahkhkdbcsiugf",
- "name": "example.png"
}, - "PrimaryContact": {
- "id": 324,
- "username": "asdf87safd876sfd",
- "email": "nobody@smarterwx.com",
- "role": "AOADMIN",
- "firstName": "Gary",
- "lastName": "Johnson",
- "phoneNumber": "040012345678"
}, - "safetyMessage": "Damaging telco infrastructure poses serious risks of major community disruption and costly repairs. Please follow all attached instructions and if necessary organise prior approval/coordination. The use of a skilled locator may be required. Ensure compliance with all specified safety measures.",
- "Tenant": {
- "id": 3,
- "name": "DBYD VIC & TAS"
}
}
}
]
}
Search over referral emails
filter | string Example: filter=createdAfter:2020-08-01 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 |
fields | string Example: fields=createdAt,externalId List of basic properties to return (* indicates all) |
order | string Example: order=-createdAt Sort order for results - hyphen prefix reverses order |
{- "Info": {
- "offset": 10,
- "limit": 50,
- "count": 67
}, - "Referrals": [
- {
- "id": 234,
- "externalId": 600005928,
- "createdAt": "2020-08-01T03:36:00.000Z",
- "OutboundEmails": [
- {
- "id": 567,
- "status": "delivered"
}
], - "Enquiry": {
- "id": 567,
- "externalId": 40003333,
- "isSandboxTest": false
}
}
]
}
Search over referral responses
filter | string Example: filter=createdAfter:2020-08-01 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 |
fields | string Example: fields=createdAt,externalId List of basic properties to return (* indicates all) |
order | string Example: order=-createdAt Sort order for results - hyphen prefix reverses order |
{- "Info": {
- "offset": 10,
- "limit": 50,
- "count": 67
}, - "Responses": [
- {
- "id": 234,
- "createdAt": "2020-08-01T03:36:00.000Z",
- "inboundEmailId": 678,
- "Referral": {
- "id": 234,
- "externalId": 600005928,
- "Enquiry": {
- "id": 567,
- "externalId": 40003333,
- "isSandboxTest": false
}
}, - "OutboundEmails": [
- {
- "id": 567,
- "status": "delivered",
- "to": "gary@smarterwx.com"
}
]
}
]
}
List all files associated with the response
token required | string Example: token=1:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... Combination of version and JWT token containing the response id |
{- "id": null,
- "referralId": null,
- "Files": [
- {
- "id": 234,
- "name": "Asset Preset.pdf",
- "key": "Upload/2023/05/05/bee76f35-d061-4ada-8247-649dc98d3695"
}
], - "Enquiry": {
- "id": 234,
- "userReference": "Test Enquiry",
- "digStartAt": "2023-06-10",
- "digEndAt": "2023-06-30",
- "userId": 234,
- "externalId": 40003333,
- "createdAt": "2023-06-10"
}
}
Get the download link for a particular file
fileId required | integer >= 1 Example: 1 ID of the file to retrieve |
token required | string Example: token=1:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... Combination of version and JWT token containing the response id |
{- "id": null,
- "name": "40006144.pdf",
- "key": "Uploads/2023/06/08/9693a1cc-7955-444a-8d19-5e4b9dc24",
- "mimeType": "application/octet-stream"
}
Get the zip file download link for all the files associated with the response
token required | string Example: token=1:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... Combination of version and JWT token containing the response id |
{- "name": "JobId 40006144 Test organisation 600014279.zip",
}
Retrieve one response and file details
responseId required | integer >= 1 Example: 123 |
shareId | string Example: shareId=abc1234 To validate whether this content contects to a shared enquiry. |
{- "id": 234,
- "userId": 123,
- "body": "<DIV>Our response</DIV>",
- "Attachments": [
- {
- "id": 234,
- "name": null,
- "mimeType": "application/pdf"
}
]
}
Get the link for a particular response attachment
fileId required | integer >= 1 Example: 1 ID of the attachment to retrieve |
shareId | string Example: shareId=iOiJIUzI1NiIsInR5cCI6IkpXVCJ9... The shareId token if the enquiry is open from a shared link |
{- "id": null,
- "name": "40006144.pdf",
- "key": "Uploads/2023/06/08/9693a1cc-7955-444a-8d19-5e4b9dc24",
- "mimeType": "application/octet-stream"
}