Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.31 KB

data.md

File metadata and controls

31 lines (23 loc) · 1.31 KB

Data

Structure

Data

Fields

Name Type Tags Description Getter Setter
code string Required A UUID v4 that's unique for the Async Request getCode(): string setCode(string code): void
type string Required The @type from the original request. getType(): string setType(string type): void
id string Required After a sucessfully processing, the system will fill with the final ID for the document getId(): string setId(string id): void
progress int Required The current percentage progress
Constraints: >= 0, <= 100
getProgress(): int setProgress(int progress): void
error ?string Optional In case of error processing, it will contain the error details getError(): ?string setError(?string error): void
ttl int Required The date (in Epoch Time) this status register is set to expire. Usually 30 days after the request. getTtl(): int setTtl(int ttl): void

Example (as JSON)

{
  "code": "406c66c3-21cb-47fb-80fc-843bc42507fb",
  "type": "Transaction",
  "id": "11e95f8ec39de8fbdb0a4f1a",
  "progress": 100,
  "ttl": 7956886942,
  "error": "error4"
}