Find Item Revisions By Search Conditions [Return Specifiec UDPs]
Number of APIs: 3
This collection demonstrates how to search Autodesk Vault for Items based on search conditions and returns ALL properties associated with each Item via SOAP API calls.
Collection Variables
| Variable | Description | Should Modify | 
|---|---|---|
| Host | The Vault server host name including the http:// | No | 
| Server | This is the name of the Vault server. This can be an Alias, FDQN, or IP Address | Yes | 
| Database | The name of the Vault database to access. | Yes | 
| User | The name of a valid Vault user. Vault Account types only, this collection does not sign in using the Autodesk SSO or WinthAuth account types. | Yes | 
| Password | The password for the User specified in the User variable. | Yes | 
| ItemNumber | The Vault Item number to search for. | Yes | 
| ItemNumPropDefId | The property definition id of the Number property in Vault. You may have to us a separate program or the FindPropertyDefinitionsBySystemNames method to find the PropDefId for your specific Vault database. | Yes | 
| LatestOnly | If true then only the latest version of the Vault Item will be returned; otherwise all Item Versions are returned. | Optional (True, False) | 
| rtnTicket | The authorization ticket returned upon a successful Vault sign in. This is used in all subsequent API calls. | No | 
| rtnUserId | The User Id of the signed in user returned upon a successful Vault sign in. This is used in all subsequent API calls. | No | 
| rtnEntityIds | Ids of all Vault Items returned. A single Vault Item can have multiple results if there is more than one Version or Revision of the Item in Vault. | No | 
| rtnEntities | The returned Vault Items in JSON format. | No | 
Call Stack
| Service | Call | Response | |
|---|---|---|---|
| AuthService | SignInReadOnly | Returns UserId and Token to be used for subsequent API calls, otherwise returns exception. | Required | 
| ItemService | FindItemRevisionsBySearchConditions | Returns NULL if no Vault Items are found, or an array of Item objects, otherwise returns exception. | Required | 
| PropertyService | GetPropertiesByEntityIds | Returns NULL if no Vault properties are found, or an array of PropInst objects, otherwise returns exception. | Optional | 
| AuthService | SignOut | Returns a NULL response. | Required | 
WSDL Access
To access the WSDL files directly, copy the POST URL of the desired call and past it into your web browser. You will be presented with a page that allows you to view the WSDL file directly.
Remember to replace http://Server with the actual Vault >server address.
You must also have access to the same domain as the Vault server either directly, by >a domain trust, or VPN.
- 
FindItemRevisionsBySearchConditions POST {{Host}}/AutodeskDM/Services/v26/ItemService.svc 
- 
GetProperties POST {{Host}}/AutodeskDM/Services/v26/PropertyService.svc 
- 
SignOut POST {{Host}}/AutodeskDM/Services/Filestore/v26/AuthService.svc