Upload Checklist
Path: /pvds/upload_checklist.json
Example: https://www.greendeal.com.au/rapi/v1/pvds/upload_checklist.json
HTTP Method: POST
Request Parameter
For each job, it's mandatory to call get_checklist API before upload any checklist upload
Parameter | Type | Is Required? | Note | Example |
id | String | Yes | "GWT383595" | |
checklist_id | Integer | Yes | 3 | |
answer | String | No | Answer(required when type is "boolean" or "text") | "true" or "false" or "answer content" |
photo_name | String | No | Photo Name(required when type is "image" ) | "xx.png" |
photo | String | No |
Photo file (required when type is "image" )
Base64 encoded image 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",
"checklist_id": 15,
"answer": "",
"photo_name": "xx.png",
"photo": "/9j/4AAQSkZJRgABAQAAkACQAAD/4QB0RXhpZgAATU0AKgAAAAgABAEaAAUAAAABAAA.....pGiiivsjkCiiigAooooAKKKKAP/2Q=="
}
Response Example
See Get Checklist Response