GET Comments/GetDocumentReferencesByRequest?requestID={requestID}&workflowActivityID={workflowActivityID}
Gets document details for all comments associated with the specified request and optionally limited to comments for a specific workflow activity.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
requestID |
The ID of the request. |
globally unique identifier |
Required |
workflowActivityID |
The optional ID of the workflow activity. |
globally unique identifier |
None. |
Body Parameters
None.
Response Information
Resource Description
CommentDocumentReferenceDTOs
Collection of CommentDocumentReferenceDTOName | Description | Type | Additional information |
---|---|---|---|
CommentID |
Identifier of Comment |
globally unique identifier |
None. |
DocumentID |
Identifier of Document |
globally unique identifier |
None. |
RevisionSetID |
Identifies the Revision set |
globally unique identifier |
None. |
DocumentName |
The name of the Document |
string |
None. |
FileName |
The name of the File |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "results": [ { "CommentID": "5eac29e7-0930-4679-881a-0e9303356300", "DocumentID": "b1eb226e-6c62-4b5e-86a2-80858e88933f", "RevisionSetID": "b9f98988-51b2-4e91-8435-15aa25c9dabf", "DocumentName": "sample string 2", "FileName": "sample string 3" }, { "CommentID": "5eac29e7-0930-4679-881a-0e9303356300", "DocumentID": "b1eb226e-6c62-4b5e-86a2-80858e88933f", "RevisionSetID": "b9f98988-51b2-4e91-8435-15aa25c9dabf", "DocumentName": "sample string 2", "FileName": "sample string 3" } ] }
text/javascript
Sample:
{"results":[{"CommentID":"5eac29e7-0930-4679-881a-0e9303356300","DocumentID":"b1eb226e-6c62-4b5e-86a2-80858e88933f","RevisionSetID":"b9f98988-51b2-4e91-8435-15aa25c9dabf","DocumentName":"sample string 2","FileName":"sample string 3"},{"CommentID":"5eac29e7-0930-4679-881a-0e9303356300","DocumentID":"b1eb226e-6c62-4b5e-86a2-80858e88933f","RevisionSetID":"b9f98988-51b2-4e91-8435-15aa25c9dabf","DocumentName":"sample string 2","FileName":"sample string 3"}]}
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.
application/xml, text/xml
Sample:
<ArrayOfCommentDocumentReferenceDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lpp.Dns.DTO"> <CommentDocumentReferenceDTO> <CommentID>5eac29e7-0930-4679-881a-0e9303356300</CommentID> <DocumentID>b1eb226e-6c62-4b5e-86a2-80858e88933f</DocumentID> <DocumentName>sample string 2</DocumentName> <FileName>sample string 3</FileName> <RevisionSetID>b9f98988-51b2-4e91-8435-15aa25c9dabf</RevisionSetID> </CommentDocumentReferenceDTO> <CommentDocumentReferenceDTO> <CommentID>5eac29e7-0930-4679-881a-0e9303356300</CommentID> <DocumentID>b1eb226e-6c62-4b5e-86a2-80858e88933f</DocumentID> <DocumentName>sample string 2</DocumentName> <FileName>sample string 3</FileName> <RevisionSetID>b9f98988-51b2-4e91-8435-15aa25c9dabf</RevisionSetID> </CommentDocumentReferenceDTO> </ArrayOfCommentDocumentReferenceDTO>