Get Attachments
Path: /pvds/get_attachments.json
Example: https://www.greendeal.com.au/rapi/v1/pvds/get_attachments.json
HTTP Method: GET
Request Parameter
Parameter | Type | Is Required? | Note | Example |
id | String | Yes | "GWT383595" |
Response
Parameter | Type | Example | Description |
id | Integer | 3 | Attachment id |
name | String | xxx.pdf | |
attachment_type | String |
Attachment Type, Valid values are: "other_document" , "stc_document" , "coc_document" or "noc_document" other_document: Other Documents stc_document: STC Form coc_document: COC (ESC) Document noc_document: NOC(Notice of Completion,Required for WA) |
"stc_document" |
Request Example
{
"client_id": "23565656e63f33016ad7f4f338a6f70be78c136addbbb9c803d09756c6ee93f1",
"signature": "2dc1b977b376a2fd26bf05c1f15da59b",
"timestamp": "2019-08-02T10:31:50+11:00",
"id": "GWT383595"
}
Response Example
[
{
"id": test_attachment_id1,
"name": "xx.pdf",
"attachment_type": "stc_document"
}
]