Closed nesh170 closed 7 years ago
1.Item Stacks to Get Detailed Item View Response:
{ "id": 5, "name": "iPhone 7", "quantity": 12, "model_number": null, "description": null, "tags": [ { "id": 39, "tag": "lit" }, { "id": 40, "tag": "lolz" }, { "id": 41, "tag": "power" } ], "int_fields": [ { "id": 35, "item": 5, "field": "lit1233", "value": null }, { "id": 7, "item": 5, "field": "lit-o-meter", "value": 45 } ], "float_fields": [ { "id": 4, "item": 5, "field": "sensitivity", "value": 1.2343 } ], "short_text_fields": [ { "id": 4, "item": 5, "field": "location", "value": null } ], "long_text_fields": [], "outstanding_disbursements": [ { "id": 7, "item": { "id": 5, "name": "iPhone 7", "quantity": 12 }, "quantity": 3, "cart_id": 5, "cart_owner": "plebian" }, { "id": 19, "item": { "id": 5, "name": "iPhone 7", "quantity": 12 }, "quantity": 3, "cart_id": 18, "cart_owner": "plebian" } ], "outstanding_loans": [ { "id": 12, "item": { "id": 5, "name": "iPhone 7", "quantity": 12 }, "quantity": 3, "cart_id": 18, "cart_owner": "plebian", "loaned_timestamp": null, "returned_timestamp": null } ], "current_loans": [] }
The below shows an example with current loans:- Response:
{ "id": 5, "name": "iPhone 7", "quantity": 6, "model_number": null, "description": null, "tags": [ { "id": 39, "tag": "lit" }, { "id": 40, "tag": "lolz" }, { "id": 41, "tag": "power" } ], "int_fields": [ { "id": 35, "item": 5, "field": "lit1233", "value": null }, { "id": 7, "item": 5, "field": "lit-o-meter", "value": 45 } ], "float_fields": [ { "id": 4, "item": 5, "field": "sensitivity", "value": 1.2343 } ], "short_text_fields": [ { "id": 4, "item": 5, "field": "location", "value": null } ], "long_text_fields": [], "outstanding_disbursements": [ { "id": 7, "item": { "id": 5, "name": "iPhone 7", "quantity": 6 }, "quantity": 3, "cart_id": 5, "cart_owner": "plebian" } ], "outstanding_loans": [], "current_loans": [ { "id": 12, "item": { "id": 5, "name": "iPhone 7", "quantity": 6 }, "quantity": 3, "cart_id": 18, "cart_owner": "plebian", "loaned_timestamp": "2017-03-20T22:35:49.680565Z", "returned_timestamp": null } ] }
1.Item Stacks to Get Detailed Item View Response:
The below shows an example with current loans:- Response: