API schema
DocumentPurchaseOutcome
Generated from the public v2 OpenAPI contract.
object
documentIdstringrequired
string
Pattern: ^DOC-[A-Z]{2}-[a-f0-9]{64}$
companyIdstring | nulloptional
string | nullstring | null
Alternative 1 string
string
Pattern: ^THQ-[A-Z]{2}-[0-9]{8}$
Alternative 2 null
null
statusstringrequired
string
Allowed: completed · partial · unavailable · notPermitted · pending · failed
chargedCreditCentsintegerrequired
integer
Minimum: 0
Maximum: 1000000000000
bundleCodestring | nulloptional
string | nullstring | null
Alternative 1 string
string
Pattern: ^[a-z][A-Za-z0-9]*(?:\.[a-z][A-Za-z0-9]*)?$
Alternative 2 null
null
reasonstring | nulloptional
string | nullstring | null
Alternative 1 string
string
Alternative 2 null
null
documentDocument | nulloptional
Document | nullDocument | null
Alternative 1 Document
idstringrequired
See the linked schema for the complete definition.
companyIdstringrequired
See the linked schema for the complete definition.
typestringrequired
See the linked schema for the complete definition.
publicationDatestring | nulloptional
string | nullSee the linked schema for the complete definition.
gazetteYearinteger | nulloptional
integer | nullSee the linked schema for the complete definition.
gazetteIssuestring | nulloptional
string | nullSee the linked schema for the complete definition.
pageStartinteger | nulloptional
integer | nullSee the linked schema for the complete definition.
pageEndinteger | nulloptional
integer | nullSee the linked schema for the complete definition.
languagestringoptional
See the linked schema for the complete definition.
contentTypestringoptional
See the linked schema for the complete definition.
versionstringrequired
See the linked schema for the complete definition.
sha256stringrequired
See the linked schema for the complete definition.
sizeBytesintegerrequired
See the linked schema for the complete definition.
availablebooleanrequired
See the linked schema for the complete definition.
priceCreditCentsintegeroptional
See the linked schema for the complete definition.
entitledbooleanoptional
See the linked schema for the complete definition.
Alternative 2 null
null