Read (GET) Unit Transactions

Use this API to read unit transactions from the Transactions Center.

To get unit transaction data:

Execute a GET command on the endpoint {{url}}/ledger/UN.

For example, here is a request submitted using cURL:

curl --request GET \
  --url 'https://{{url}}/ledger/UN' \
  --header 'authorization: Bearer {{oauth_token}}' \
  --header 'content-type: application/json' \

A successful GET returns the JSON representation of the unit transaction data, for example:

{
        "Period": 201601,
        "PostSeq": 36,
        "PKey": "565924562779",
        "WBS1": "00002.00",
        "WBS2": " ",
        "WBS3": " ",
        "Account": "753.00",
        "Org": "",
        "TransType": "UN",
        "SubType": "",
        "RefNo": "Auto   ",
        "TransDate": "2016-12-31T00:00:00.000",
        "Desc1": "Units",
        "Desc2": "File Calen Unit",
        "Amount": 0,
        "CBAmount": 0,
        "BillExt": 0,
        "ProjectCost": "Y",
        "AutoEntry": "Y",
        "SuppressBill": "N",
        "BillStatus": "",
        "SkipGL": "N",
        "BankCode": "",
        "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": 0,
        "TransactionCurrencyCode": " ",
        "ExchangeInfo": "",
        "AmountProjectCurrency": 0,
        "ProjectExchangeInfo": "",
        "AmountBillingCurrency": 0,
        "BillingExchangeInfo": "",
        "AutoEntryAmount": 0,
        "AutoEntryExchangeInfo": "",
        "AutoEntryOrg": "",
        "AutoEntryAccount": "",
        "AmountSourceCurrency": 0,
        "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": ""
    },