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

&quot;\u003cs:Envelope xmlns:s=\&quot;http://schemas.xmlsoap.org/soap/envelope/\&quot;\u003e\n    \u003cs:Body xmlns:xsi=\&quot;http://www.w3.org/2001/XMLSchema-instance\&quot; xmlns:xsd=\&quot;http://www.w3.org/2001/XMLSchema\&quot;\u003e\n        \u003cGetPropertiesResponse xmlns=\&quot;http://AutodeskDM/Services/Property/1/7/2020/\&quot;\u003e\n            \u003cGetPropertiesResult\u003e\n                \u003cPropInst EntityId=\&quot;1103\&quot; PropDefId=\&quot;57\&quot; ValTyp=\&quot;String\&quot;\u003e\n                    \u003cVal xsi:type=\&quot;xsd:string\&quot;\u003eAdministrator\u003c/Val\u003e\n                \u003c/PropInst\u003e\n                \u003cPropInst EntityId=\&quot;1103\&quot; PropDefId=\&quot;53\&quot; ValTyp=\&quot;String\&quot;\u003e\n                    \u003cVal xsi:type=\&quot;xsd:string\&quot;\u003eB\u003c/Val\u003e\n                \u003c/PropInst\u003e\n                \u003cPropInst EntityId=\&quot;1103\&quot; PropDefId=\&quot;76\&quot; ValTyp=\&quot;Numeric\&quot;\u003e\n                    \u003cVal xsi:type=\&quot;xsd:double\&quot;\u003e10\u003c/Val\u003e\n                \u003c/PropInst\u003e\n                \u003cPropInst EntityId=\&quot;1103\&quot; PropDefId=\&quot;59\&quot; ValTyp=\&quot;String\&quot;\u003e\n                    \u003cVal xsi:type=\&quot;xsd:string\&quot;\u003e605-D-M110\u003c/Val\u003e\n                \u003c/PropInst\u003e\n                \u003cPropInst EntityId=\&quot;1103\&quot; PropDefId=\&quot;61\&quot; ValTyp=\&quot;String\&quot;\u003e\n                    \u003cVal xsi:type=\&quot;xsd:string\&quot;/\u003e\n                \u003c/PropInst\u003e\n                \u003cPropInst EntityId=\&quot;1103\&quot; PropDefId=\&quot;58\&quot; ValTyp=\&quot;String\&quot;\u003e\n                    \u003cVal xsi:type=\&quot;xsd:string\&quot;\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&quot;