Read (GET) AP Disbursements
Use this API to read an accounts payable disbursement from the Transactions Center. AP disbursements are manual payments to an accounts payable voucher for vendors in DPS.
To get AP disbursement transaction data:
Execute a GET command on the endpoint
{{url}}/ledger/CV.
For example, here is a request submitted using cURL:
curl --request GET \ --url 'https://{{url}}/ledger/CV' \ --header 'authorization: Bearer {{oauth_token}}' \ --header 'content-type: application/json' \
A successful GET returns the JSON representation of the accounts payable disbursement transaction data, for example:
{ "Period": 201601, "PostSeq": 37, "PKey": "566378119006", "WBS1": "", "WBS2": "", "WBS3": "", "Account": "101.00", "Org": "", "TransType": "CV", "SubType": "", "RefNo": "Auto ", "TransDate": "2016-12-20T00:00:00.000", "Desc1": "AP Disbursements", "Desc2": "File APDisburse", "Amount": -10000, "CBAmount": 0, "BillExt": 0, "ProjectCost": "N", "AutoEntry": "Y", "SuppressBill": "N", "BillStatus": "", "SkipGL": "N", "BankCode": "Corporate", "Invoice": "", "InvoiceSection": "", "Employee": "", "Vendor": "", "Line": 0, "PartialPayment": 0, "Discount": 0, "Voucher": "", "BilledWBS1": "", "BilledWBS2": "", "BilledWBS3": "", "BilledInvoice": "", "BilledPeriod": 0, "Unit": "", "UnitTable": "", "UnitQuantity": 0, "UnitCostRate": 0, "UnitBillingRate": 0, "UnitBillExt": 0, "XferWBS1": "", "XferWBS2": "", "XferWBS3": "", "XferAccount": "", "TaxCode": "", "TaxBasis": 0, "TaxCBBasis": 0, "BillTaxCodeOverride": "", "WrittenOffPeriod": 0, "TransactionAmount": -10000, "TransactionCurrencyCode": " ", "ExchangeInfo": "", "AmountProjectCurrency": 0, "ProjectExchangeInfo": "", "AmountBillingCurrency": 0, "BillingExchangeInfo": "", "AutoEntryAmount": 0, "AutoEntryExchangeInfo": "", "AutoEntryOrg": "", "AutoEntryAccount": "", "AmountSourceCurrency": -10000, "SourceExchangeInfo": "", "PONumber": "", "UnitCostRateBillingCurrency": 0, "LinkCompany": "", "LinkWBS1": "", "LinkWBS2": "", "LinkWBS3": "", "BillTax2CodeOverride": "", "GainsAndLossesType": "", "AmountTaxCurrency": 0, "CBAmountTaxCurrency": 0, "TaxBasisTaxCurrency": 0, "TaxCBBasisTaxCurrency": 0, "TaxBasisFunctionalCurrency": 0, "TaxCBBasisFunctionalCurrency": 0, "DiscountFunctionalCurrency": 0, "ModUser": "", "AuthorizedBy": "", "RealizationAmountEmployeeCurrency": 0, "RealizationAmountProjectCurrency": 0, "RealizationAmountBillingCurrency": 0, "NonBill": "", "CreditMemoRefNo": "", "OriginalAmountSourceCurrency": 0, "OriginalPaymentCurrencyCode": "", "InProcessAccount": "N", "InProcessAccountCleared": "N", "EKOriginalLine": 0, "InvoiceStatus": "", "OriginatingVendor": "", "Diary": "", "DiaryNo": 0, "CreditCardPrimaryCode": "", "CreditCardCode": "", "CreditCardPKey": "", "TransferredPeriod": 0, "TransferredBillStatus": "", "PreInvoice": "", "EquipmentID": "", "BookCode": "", "EmOrg": "", "LastPSAExportDate": "" },