Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 3
Next »
Overview
- PwsSearchDocuments
- serviceRequest: PwsSearchDocumentsRq
Request Elements
Element | Data Type | Required? | Default | Description | Sample Data |
---|
RequestId | Int32 | No |
| Click here for more information. |
|
SessionTicket | String | Yes |
| Click here for more information. |
|
FolderTypeCode | String (30) |
|
|
|
|
ProjectIdentity | PwsProjectRef |
|
|
|
|
ResourceIdentity | PwsResourceRef |
|
|
|
|
SearchString | String (255) |
|
|
|
|
IncludeInactiveFlag | Boolean |
|
|
|
|
Request Usage Example(s)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:pws="http://projectorpsa.com/PwsProjectorServices/" xmlns:req="http://projectorpsa.com/DataContracts/Requests/" xmlns:doc="http://projectorpsa.com/DataContracts/Shared/DocumentManagement/" xmlns:com="http://projectorpsa.com/DataContracts/Shared/Common/">
<soapenv:Header/>
<soapenv:Body>
<pws:PwsSearchDocuments>
<pws:serviceRequest>
<req:SessionTicket>AftyRXSTlnMPzozuKwq0kQ==</req:SessionTicket>
<doc:FolderTypeCode>ProjectWorkspaceFolder</doc:FolderTypeCode>
<doc:ProjectIdentity>
<com:ProjectCode>P001053-001</com:ProjectCode>
</doc:ProjectIdentity>
<doc:SearchString>nabucco</doc:SearchString>
<doc:IncludeInactiveFlag>true</doc:IncludeInactiveFlag>
</pws:serviceRequest>
</pws:PwsSearchDocuments>
</soapenv:Body>
</soapenv:Envelope>
- PwsSearchDocumentsResponse
- PwsSearchDocumentsResult: PwsSearchDocumentsRs
Response Elements
Response Usage Example(s)
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<PwsSearchDocumentsResponse xmlns="http://projectorpsa.com/PwsProjectorServices/">
<PwsSearchDocumentsResult xmlns:a="http://projectorpsa.com/DataContracts/Shared/DocumentManagement/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<Messages xmlns="http://projectorpsa.com/CommonServices/" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<ResponseId xmlns="http://projectorpsa.com/CommonServices/">0</ResponseId>
<Status xmlns="http://projectorpsa.com/CommonServices/">Ok</Status>
<ServerTimestampUtc xmlns="http://projectorpsa.com/CommonServices/">2018-03-21T14:45:52.6954441Z</ServerTimestampUtc>
<a:Results>
<a:PwsSearchResult>
<a:Document>
<DocumentRefId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<DocumentRefUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607656365</DocumentRefUid>
<a:CreatedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
<b:UserId i:nil="true"/>
<b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
<b:UserUid>1152921504606950320</b:UserUid>
</a:CreatedByUserIdentity>
<a:CreatedTimestamp>2018-03-21T14:45:10.663Z</a:CreatedTimestamp>
<a:CurrentVersion>
<DocumentVersionId i:nil="true" xmlns="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<DocumentVersionUid xmlns="http://projectorpsa.com/DataContracts/Shared/Common/">1152921504607660649</DocumentVersionUid>
<a:Comments i:nil="true"/>
<a:CreatedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
<b:UserId i:nil="true"/>
<b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
<b:UserUid>1152921504606950320</b:UserUid>
</a:CreatedByUserIdentity>
<a:CreatedTimestamp>2018-03-21T14:45:10.663Z</a:CreatedTimestamp>
<a:DocumentArchiveIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<a:VersionNumber>1</a:VersionNumber>
</a:CurrentVersion>
<a:DeletedByUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<a:DeletedTimestamp i:nil="true"/>
<a:DocumentName>milan blog1.rtf</a:DocumentName>
<a:DocumentSize>48303</a:DocumentSize>
<a:DocumentUri i:nil="true"/>
<a:LockedByUserIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<a:LockedTimestamp i:nil="true"/>
<a:MimeType>application/rtf</a:MimeType>
<a:ModifiedByUserIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:UserDisplayName>Bruce Wayne</b:UserDisplayName>
<b:UserId i:nil="true"/>
<b:UserReferenceSystemId>BW-01</b:UserReferenceSystemId>
<b:UserUid>1152921504606950320</b:UserUid>
</a:ModifiedByUserIdentity>
<a:ModifiedTimestamp>2018-03-21T14:45:10.663Z</a:ModifiedTimestamp>
<a:SupportPreviewFlag>false</a:SupportPreviewFlag>
<a:SupportThumbnailFlag>false</a:SupportThumbnailFlag>
<a:DocumentData>
<a:DataItems/>
<a:DocumentDataDetail>
<a:AssociatedItemIdentity xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/">
<b:ItemId i:nil="true"/>
<b:ItemType>P</b:ItemType>
<b:ItemUid>1152921504607413582</b:ItemUid>
<b:ReferenceType i:nil="true"/>
</a:AssociatedItemIdentity>
<a:Associations/>
<a:Notes i:nil="true"/>
</a:DocumentDataDetail>
</a:DocumentData>
<a:EditDeleteFlag>false</a:EditDeleteFlag>
<a:NumberPages i:nil="true"/>
<a:ArchiveIdentity i:nil="true" xmlns:b="http://projectorpsa.com/DataContracts/Shared/Common/"/>
<a:EditDeletePermissionFlag>false</a:EditDeletePermissionFlag>
<a:ReceiptLockedFlag>false</a:ReceiptLockedFlag>
</a:Document>
<a:Filename>e:\ProjectorDocs1\3018\docs\89\doc_809389_813673.rtf</a:Filename>
<a:Score>100</a:Score>
<a:Synopsis>Teatro Alla Scala, opening night for Verdi's [{[{Nabucco}]}], tearing up when the famous chorus piece "Va</a:Synopsis>
</a:PwsSearchResult>
</a:Results>
</PwsSearchDocumentsResult>
</PwsSearchDocumentsResponse>
</s:Body>
</s:Envelope>
PwsGetDocumentHistory - Common Errors and Warnings
ErrorNumber | ErrorCode | ErrorText |
---|
21017 | InvalidValueForFolderTypeCode | The specified folder type code is not recognized. |
21030 | SearchStringRequiredForSearchDocuments | A search string must be specified. |
75240 | ResourceMayNotBeSpecifiedWhenSearchingWorkspaces | Resource may not be specified when searching project workspaces. |
75241 | ProjectmayNotBeSpecifiedWhenSearchingResumes | Project may not be specified when searching resource resumes. |