Skip to main content

Retrieve asset DocumentDb record

An asset, often referred to as a token, represents a digital artifact on the TEOS platform that can be stored, managed, and verified on blockchain.

This endpoint retrieves the document stored in the DocumentDB for a given asset, referenced by its uniqueAssetId. The document contains the structured JSON representing the asset, including its general and custom properties.

📘 Learn more about assets.

Request Endpoint:​

GET /odata/v1.0/Assets({key})/DocumentDbRecord

Parameters​

No query parameters.

ParameterTypeDescriptionMandatory
keyPathUniqueAssetId of the asset✅

Example:

GET /Assets('0x5f1e6522bd3b65be880007')/DocumentDbRecord

Response Body:​

application/json— Returns the asset document as a JSON string.

Example Response Body:

"string"

Response Codes:​

CodeDescription
200The DocumentDB record was successfully retrieved.
401Unauthorized.
404The DocumentDB record does not exist.