internalId | String The internal document ID of the document to retrieve. This is a unique ID that Trading Networks assigns to the document. |
getContent | String (optional) Indicates whether to retrieve the document content and envelope information. Valid values are: ![]() ![]() |
contentPartCriteria | Document (optional) The retrieval criteria for the content parts associated with this document. This is an instance of wm.tn.rec:BizDocEnvelope. If not specified, this service retrieves all content parts of the matching document. Specify a list of part names to include and/or a list of part names to exclude from the retrieved envelope. The document contains the following keys: ![]() ![]() |
getRelated | String (optional) Whether you want to retrieve information about the related documents (including grouped documents and those in the conversation). Valid values are: ![]() ![]() |
bizdoc | Document The document this service retrieved from the database. For the structure of bizdoc, see wm.tn.rec:BizDocEnvelope. The service fills in the Content field within bizdoc if you specified true for getContent. |
sender | Document The profile summary for the sender of the document. For the structure of sender, see wm.tn.rec:ProfileSummary. |
receiver | Document The profile summary for the receiver of the document. For the receiver, see wm.tn.rec:ProfileSummary. |
relatedDocCount | String (optional) If you specified true for getRelated, this String contains the number of related documents that are associated with the retrieved document. |
relatedDocs | Document List (optional) If you specified true for getRelated, this is information about documents related to the retrieved document. Each IS document (IData object) returned in relatedDocs will contain these keys: ![]() ![]() ![]() |
groupedDocCount | String (optional) If you specified true for getRelated, the number of documents with the same group ID as the returned document. |
groupedDocs | String List (optional) If you specified true for getRelated, a list of documents with the same group ID as the returned document. |