GetProperties
POST {{Host}}/AutodeskDM/Services/v26/PropertyService.svc
Gets ALL properties for the Vault Items.
This method returns all properties for the specified Vault Items by passing in all Vault Item Ids that properties should be returned for as an array of <long>Item Id</long>
in the SOAP request body.
If you only want to return specific properties then use the Find Item Revisions By Search Conditions [Return Specific Properties] collection.
Required Vault Permissions
ManagePropertyDefinition
or Item Read
Permission
Returns
Matching PropInst[]
array or null
if there were Items found for the specified Entity Ids.
Parameters
entityClassId
Required String The string name of the Entity type to return properties for.
In this collection it must be ITEM. See table below for additional know Entity Ids.
SrchOper Attributes Table
Name column is used in the request.
Name | Entity Type |
---|---|
CO | Change Orders |
CUSTENT | Custom Objects |
FILE | Files |
FLDR | Folders |
FRMMSG | Forum Messages |
ITEMRDES | Reference Designators |
ITEM | Items |
Link | Links |
ROOT | Root Folder |
entityIds
Required Long Array An array of entity Ids each between a
<long></long>
tag in the<entityID></entityID>
element of the request body.
Example
<GetPropertiesByEntityIds xmlns="http://AutodeskDM/Services/Property/1/7/2020/">
<entityClassId>ITEM</entityClassId>
<entityIds>
<long>136</long>
<long>98</long>
<long>39536</long>
<long>978</long>
</entityIds>
</GetPropertiesByEntityIds>
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
SOAPAction | string |
RESPONSES
status: OK
"\u003cs:Envelope xmlns:s=\"http://schemas.xmlsoap.org/soap/envelope/\"\u003e\n \u003cs:Body xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\u003e\n \u003cGetPropertiesResponse xmlns=\"http://AutodeskDM/Services/Property/1/7/2020/\"\u003e\n \u003cGetPropertiesResult\u003e\n \u003cPropInst EntityId=\"1103\" PropDefId=\"57\" ValTyp=\"String\"\u003e\n \u003cVal xsi:type=\"xsd:string\"\u003eAdministrator\u003c/Val\u003e\n \u003c/PropInst\u003e\n \u003cPropInst EntityId=\"1103\" PropDefId=\"53\" ValTyp=\"String\"\u003e\n \u003cVal xsi:type=\"xsd:string\"\u003eB\u003c/Val\u003e\n \u003c/PropInst\u003e\n \u003cPropInst EntityId=\"1103\" PropDefId=\"76\" ValTyp=\"Numeric\"\u003e\n \u003cVal xsi:type=\"xsd:double\"\u003e10\u003c/Val\u003e\n \u003c/PropInst\u003e\n \u003cPropInst EntityId=\"1103\" PropDefId=\"59\" ValTyp=\"String\"\u003e\n \u003cVal xsi:type=\"xsd:string\"\u003e605-D-M110\u003c/Val\u003e\n \u003c/PropInst\u003e\n \u003cPropInst EntityId=\"1103\" PropDefId=\"61\" ValTyp=\"String\"\u003e\n \u003cVal xsi:type=\"xsd:string\"/\u003e\n \u003c/PropInst\u003e\n \u003cPropInst EntityId=\"1103\" PropDefId=\"58\" ValTyp=\"String\"\u003e\n \u003cVal xsi:type=\"xsd:string\"\u003e605-D-M110\u003c/Val\u003e\n \u003c/PropInst\u003e\n \u003c/GetPropertiesResult\u003e\n \u003c/GetPropertiesResponse\u003e\n \u003c/s:Body\u003e\n\u003c/s:Envelope\u003e"