Get Custom Field Values for TransactionAdd event

The API retrieves custom field values mapped to event log IDs for TransactionAdd events from the ledger.

🚧

Note

This is a private API and is accessible only through Neo dataflows.

Prerequisites

  • Access to Neo
  • Basic or OAuth authentication details
  • Access group resource - NA

Resource information

URI to be used in Neo dataflow/das/getTransactionAddExplodeLedger
HTTP methodGET
Pagination supported?Yes
Rate limitBased on Neo
Batch supportNA

Request Query Parameters

Parameter (Parameters marked with * are mandatory)Data TypeDescription
entity_id*LongUnique customer ID of the customer
cf_names*StringCustom field names for which to retrieve values.
event_log_ids*StringUnique identifier generated for the event at the time of its creation.
pageIntegerRetrieve details of a specific page. Page count starts from 1. Example: page=2 retrieves data on page 2.
countIntegerNumber of results to display per page. The default value is 10. The maximum supported value is 100.

Response Parameters

ParameterDatatypeDescription
request_idStringUnique identifier for the API request
dataObjectContains the main response data
-recordsArrayList of records returned in the response
-- fieldsObjectKey-value pairs representing attributes of the event
--- eventTypeIdNumberUnique identifier for the event type
--- billIdNumberUnique identifier for the bill
--- customerIdNumberUnique identifier of the customer
--- eventTimeNumberTimestamp of when the event occurred in milliseconds
--- customFieldIdNumberUnique identifier for the custom field
--- eventLogIdNumberUnique identifier of the event log
--- tillIdNumberIdentifier for the till
--- customFieldValueStringValue of the custom field. Example: CREDIT
--- customFieldNameStringName of the custom field. Example:ledgerentryname
--- uniqueIdStringUnique ID associated with the record
--- processingTimeNumberTimestamp of when the event was processed in milliseconds

Sample Response

{
    "request_id": "1bbd0bb7-de10-4fa4-8ba2-8b44aee40f9b",
    "data": {
        "records": [
            {
                "fields": {
                    "eventTypeId": {
                        "number_value": 15
                    },
                    "billId": {
                        "number_value": 2152306126
                    },
                    "customerId": {
                        "number_value": 387970841
                    },
                    "eventTime": {
                        "number_value": 1738481105000
                    },
                    "customFieldId": {
                        "number_value": 6212
                    },
                    "eventLogId": {
                        "number_value": 38769078
                    },
                    "tillId": {
                        "number_value": 50692627
                    },
                    "customFieldValue": {
                        "string_value": "CREDIT"
                    },
                    "customFieldName": {
                        "string_value": "ledgerentryname"
                    },
                    "uniqueId": {
                        "string_value": "tAfisFBDFB"
                    },
                    "processingTime": {
                        "number_value": 1738481105000
                    }
                }
            }
        ]
    }
}

Error Codes

Error CodeDescription
400Bad Request
404Not Found
500Internal Server Error
Language
Credentials
Basic
base64
:
URL
Click Try It! to start a request and see the response here!