Delete Attachment
Path: /pvds/delete_attachment.json
Example: https://www.greendeal.com.au/rapi/v1/pvds/delete_attachment.json
HTTP Method: DELETE
Request Parameter
Parameter | Type | Is Required? | Note | Example |
id | String | Yes | "GWT383595" | |
attachment_id | String | Yes | See Get Attachments Response id | 111 |
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) |
"stc_document" |
Request Example
{
"client_id": "23565656e63f33016ad7f4f338a6f70be78c136addbbb9c803d09756c6ee93f1",
"signature": "2dc1b977b376a2fd26bf05c1f15da59b",
"timestamp": "2019-08-02T10:31:50+11:00",
"id": "GWT383595",
"attachment_id": xxx,
"attachment_type": "stc_document"
}