Upload Job Attachment
Path: /pvds/upload_attachment.json
Example: https://www.greendeal.com.au/rapi/v1/pvds/upload_attachment.json
HTTP Method: POST
Request Parameter
Parameter | Type | Is Required? | Note | Example |
id | String | Yes | "GWT383595" | |
attachment_type | String | Yes |
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) |
"noc_document" |
file_name | String | Yes | "noc document.pdf" | |
file | String | Yes |
Base64 encoded file Example: original string: abcde encode string: YWJjZGU= |
Request Example
{
"client_id": "23565656e63f33016ad7f4f338a6f70be78c136addbbb9c803d09756c6ee93f1",
"signature": "2dc1b977b376a2fd26bf05c1f15da59b",
"timestamp": "2019-08-02T10:31:50+11:00",
"id": "GWT383595",
"attachment_type": "other_document",
"file_name": "invoice document.pdf",
"file": "/9j/4AAQSkZJRgABAQAAkACQAAD/4QB0RXhpZgAATU0AKgAAAAgABAEaAAUAAAABAAA.....pGiiivsjkCiiigAooooAKKKKAP/2Q=="
}
Response Example
See Get Stc Job Response