[Document] - List view

[ { "id": 34, "revision_display": "B", "status_name": "Pending Approval", "company": 1, "numbering_code": 2, "user_editable": false, "revision_editable": true, "document_product_quantities": [ { "id": 69, "quantity": 2, "product": 1, "storage_bin": null }, { "id": 70, "quantity": 0, "product": 2, "storage_bin": null } ], "document_payment_amounts": [ { "id": 19, "cash_account": 1, "method": "1", "amount": "600000.00" } ], "approval_flow": [ { "role": 1, "approved_date": "2017-09-30 06:55:23 UTC", "approver": 3 }, { "role": 2, "approved_date": "", "approver": 3 } ], "approval_status": 3, "date": "2017-09-30", "revision": -1, "sub_revision": 2, "sensitivity_level": 1, "external_ref_no": "", "ref_document_id": 8, "status": 1, "type": 1, "payment_received_date": "2017-09-30", "remark": "", "ref_document_type": 31, "preparer": 3, "owner": 3, "assistant": null, "approval_status_name": "Partially Approved" }, ]
The Sample API Result
Module name: Documents
Sample view: List view

6 Responses

I've added one more attribute named 'currency'. It comes from the associated sale-order of the current document.
approved_date should be in date format (not datetime) na kub
"approved_date": "2017-10-08 09:11:00 UTC" -> "2017-10-08"
date_long -> date_display
delivery_point: string
no -> reserved_no, approved_no
document_product_quantities -> document_products
document_payment_amounts -> document_payments

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.