Get a Required Document
get
/customsDeclarations/{gtmTransactionGid}/reqdocs/{documentDefGid}
Request
Path Parameters
-
documentDefGid(required): string
Resource ID
-
gtmTransactionGid(required): string
Resource ID
Query Parameters
-
expand: string
Comma-delimited string of child resource names that you want to expand so that the contents return with the parent in the same GET request.
-
fields: string
Comma-delimited string of field names that you wanted returned in a GET request.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/vnd.oracle.resource+json;type=singular
Default Response
Default Response.
Root Schema : schema
Type:
Show Source
object
-
docs:
docs
-
documentDefGid: string
Required document type for the GTM trade transaction.
-
domainName: string
Database domain where this data is stored.
-
gtmComplianceRuleGid: string
The GID for the compliance rule.
-
gtmComplianceRuleGroupGid: string
The GID for the compliance rule set group.
-
instructions: string
Free-form field to hold document attributes. E.g. a document could be denoted as required or optional.
-
links: array
links
Read Only:
true
-
numRevisions: number
(int32)
The number of document revisions generated.
-
reviewers:
reviewers
-
reviewStatus: string
The review status of the required document.
-
statuses:
statuses
-
subscribers:
subscribers
-
texts:
texts
Nested Schema : reviewers
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : statuses
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : subscribers
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : texts
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : customsDeclarations.reqdocs.docs
Type:
Show Source
object
-
annotations: string
Annotations for a document revision.
-
documentCmsName: string
The document name used to identify a set of revisions (versions) for a CMS.
-
documentGid: string
The GID for the document instance.
-
documentRevision: number
(int32)
The revision count for the document.
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true
-
review: string
The review status of the required document.
-
reviews:
reviews
Nested Schema : reviews
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : customsDeclarations.reqdocs.docs.reviews
Type:
Show Source
object
-
comments: string
Comments from the reviewer for the specific document.
-
contactGid: string
The GID for the document reviewer.
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true
-
state: string
The review status of the document.
Nested Schema : customsDeclarations.reqdocs.reviewers
Type:
Show Source
object
-
asInvolvedPartyQualGid: string
The involved party of the reviewer if they are acting as a party on the trade transaction.
-
contactGid: string
The GID for the document reviewer.
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true
Nested Schema : customsDeclarations.reqdocs.statuses
Type:
Show Source
object
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true
-
statusTypeGid: string
The status type associated with a required document.
-
statusValueGid: string
The status value associated with a required document.
Nested Schema : customsDeclarations.reqdocs.subscribers
Type:
Show Source
object
-
asInvolvedPartyQualGid: string
The involved party of the subscriber if they are acting as a party on the trade transaction.
-
contactGid: string
The GID for the document reviewer.
-
domainName: string
Database domain where this data is stored.
-
links: array
links
Read Only:
true
Nested Schema : customsDeclarations.reqdocs.texts
Type:
Show Source
object
-
domainName: string
Database domain where this data is stored.
-
gtmComplianceRuleGid: string
The compliance rule used to assign the text template to the GTM trade transaction.
-
gtmComplianceRuleGroupGid: string
The compliance rule set group used to assign the text template to the GTM trade transaction.
-
gtmTransactionLineGid: string
The GID for the GTM trade transaction line.
-
links: array
links
Read Only:
true
-
textLinks:
textLinks
-
textOverride: string
Transactional override for the template on the specific document.
-
textTemplateGid: string
The GID for the text template associated with the GTM trade transaction line.
Nested Schema : textLinks
Type:
Show Source
object
-
items: array
items
-
links: array
links
Read Only:
true
Nested Schema : customsDeclarations.reqdocs.texts.textLinks
Type:
Show Source
object
-
domainName: string
Database domain where this data is stored.
-
gtmComplianceRuleGid: string
The GID for the GTM compliance rule used to assign a text template to a trade transaction line.
-
gtmComplianceRuleGroupGid: string
The GID for the GTM compliance rule set group used to assign a text template to a trade transaction line.
-
gtmTransactionLineGid: string
The GID for the GTM trade transaction line.
-
gtmTransLineTextLinkGid: string
The GID for the link between the GTM trade transaction line and the associated text template.
-
gtmTransLineTextLinkXid: string
The XID for the link between the GTM trade transaction line and the associated text template.
-
links: array
links
Read Only:
true
-
textOverride: string
Transactional override for the template on the specific document