Last active
October 24, 2017 18:41
-
-
Save rascode/9b516f098b0aa8209d727ac06f8839d6 to your computer and use it in GitHub Desktop.
Onit AP Web API: Proposed Changes to Response
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"success": true, | |
"data": [ | |
{ | |
"p_vendor_name": "Gold USD Vendor", | |
"p_vendor_office_name": "Gold USD Vendor", | |
"p_vendor_office_id": "987654", | |
"p_invoice_amount": { | |
"cents": 225000, | |
"currency_iso": "USD" | |
}, | |
"p_invoice_number": "1496110175853", | |
"p_environment": "AFI", | |
"p_allocations": { | |
"allocation_count": 1, | |
"allocations":[ | |
{ | |
"allocation_number":1, | |
"allocation_amount": 250.00, | |
"company": "42", | |
"unit": "EMC", | |
"nature": "7628" | |
} | |
] | |
}, | |
"id": "592cd57c4312b132d60004f4" | |
}, | |
{ | |
"p_vendor_name": "Gold USD Vendor", | |
"p_vendor_office_name": "Gold USD Vendor", | |
"p_vendor_office_id": "987654", | |
"p_invoice_amount": { | |
"cents": 90000, | |
"currency_iso": "USD" | |
}, | |
"p_invoice_number": "1496110741125", | |
"p_environment": "ADS", | |
"p_allocations": { | |
"allocation_count": 2, | |
"allocations":[ | |
{ | |
"allocation_number": 1, | |
"allocation_amount": 450.00, | |
"company": "06", | |
"unit": "SWF", | |
"nature": "2456" | |
}, | |
{ | |
"allocation_number": 2, | |
"allocation_amount": 450.00, | |
"company": "09", | |
"unit": "KWF", | |
"nature": "2455" | |
} | |
] | |
}, | |
"id": "592cd7174312b132d60005aa" | |
} | |
], | |
"count": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment