Every link to a resource that is returned in a response from the server contains the Type attribute. This attribute defines the type of the related resource. Resource types are described in the XML Schema Definition of Veeam Backup Enterprise Manager RESTful API.
The Type attribute in a link to a resource may differ from the corresponding root element in the XML schema definition. There are several general rules that help map link types to resource types in the XML schema:
- Every value of the Type attribute ending with 'ReferenceList' (for example, JobReferenceList, CloudTenantRefernceList etc.) always refers to the EntityReferences element of the XML schema.
- Every value of the Type attribute ending with 'Reference' (for example, JobReference, CloudTenantRefernce etc.) always refers to the EntityRef element of the XML schema.
- Values of the Type attribute ending with 'List' (for example, LogonSessionList) are generally transformed into plural element names (for example, LogonSessions).
- Values of the Type attribute that do not end with 'List', 'Reference' or 'ReferenceList' generally directly match root element names of the XML schema.
To learn more about resource types mapping, see Appendix B. Mapping Link Types to XML Schema Elements.