Skip to content

Instantly share code, notes, and snippets.

@rascode
Last active October 24, 2017 18:41
Show Gist options
  • Save rascode/9b516f098b0aa8209d727ac06f8839d6 to your computer and use it in GitHub Desktop.
Save rascode/9b516f098b0aa8209d727ac06f8839d6 to your computer and use it in GitHub Desktop.
Onit AP Web API: Proposed Changes to Response
{
"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