PwsGetDocumentHistory
Overview
This web service retrieves a list of detailed document versions (PwsDocumentVersion) for a specific document (PwsDocumentRef).
Rate Limiting
In order to protect our servers from inadvertent service overuse or intentional attack, and to fairly distribute services to all our customers, we have implemented a rate limiting algorithm. When fully deployed, this new algorithm will cause services to either succeed with new warnings or fail with new errors when services are consumed at too high a rate. Programs that consume Projector services should be enhanced to handle rate limiting errors so that they can continue functioning properly. For more information please visit: Projector Rate Limiting Behavior.
Request Format
- PwsGetDocumentHistory
- serviceRequest: PwsGetDocumentHistoryRq
- RequestId: Int32
- SessionTicket: String
- DocumentIdentity: PwsDocumentRef
- serviceRequest: PwsGetDocumentHistoryRq
Request Elements
Element | Data Type | Required? | Description | Sample Data |
---|---|---|---|---|
RequestId | Int32 | No | Click here for more information | 1 |
SessionTicket | String | Yes | Click here for more information | AZZNMfO8vxeYuc3WXDkixw== |
DocumentIdentity | Yes | The identity of the document |
Request Usage Example(s)
Response Format
- PwsGetDocumentHistoryResponse
- PwsGetDocumentHistoryResult: PwsGetDocumentHistoryRs
- Messages: PwsMessage[]
- ResponseId: Int32
- Status: RequestStatus
- ServerTimestampUtc: DateTime
- DocumentVersions: PwsDocumentVersion[]
- PwsGetDocumentHistoryResult: PwsGetDocumentHistoryRs
Response Elements
Element | Data Type | Description | Sample Data |
---|---|---|---|
Messages | The web service response status and message. Click here for more information. | ||
ResponseId | Int32 | Click here for more information | 1 |
Status | Click here for more information | Ok | |
ServerTimestampUtc | DateTime | Click here for more information | 2018-03-16T15:22:22.7093736Z |
DocumentVersions | Detailed information associated with the document version(s) |
Response Usage Example(s)
PwsGetDocumentHistory - Common Errors and Warnings
- For all errors and warnings please refer to the Complete List of Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|---|---|
143 | DocumentVersionCommentsTruncated | The specified document version comments exceeded the maximum length of 255 characters and was truncated. |
146 | DocumentArchived | The requested document has been archived. |
10112 | DocumentServerError | An unknown error has occurred communicating with the document server. |
21002 | DocumentRequiredForGetDocumentHistory | A document identity must be specified. |
75199 | DocumentNotFound | Document not found. |