Skip to main content
European CommissionEBSI European Blockchain
Select the Environment you want to work withEnvironment:

Get an event

Last updated on
GET 

/track-and-trace/v1/documents/:documentId/events/:eventId

Gets the event corresponding to the document ID and event ID.

Request

Path Parameters
    documentId stringrequired

    The 32-bytes ID of the document, encoded in hexadecimal.

    Example: 0xbfc90433cfe7cf69119899a96837032bee6c84ba7f6ac9aa008ef2de5eeacfb8
    eventId stringrequired

    The 32-bytes ID of the event, encoded in hexadecimal.

    Example: 0x4791c04d2e4838042c67f3e739ab8639b6bd0f6896ec7e32e99c640d43b530c7

Responses

Success

Schema
    metadata string

    Event's metadata

    timestamp object

    Timestamp object

    datetime string

    The date and time, optionally from transaction input

    source string

    Defines how the datetime was resolved, enumerated options are "block" and "external"

    proof string

    Proof of the source. Either a block number or a hash of timestamp certificate

    sender string

    The

    did:key
    or
    did:ebsi
    that created the event

    origin string

    Most of the times empty field, while it may be a string containing company name, while it can also point into an Event. All assumed relations are external to the SC.

    hash string

    Event hash

    externalHash string

    Externally generated hash

Loading...