Link Types and XML Schema Definition

In this article

    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 REST API.

    The Type attribute value may differ from the root element name for the same resource. There are several general rules that help map link types to resource types in the XML schema:

    1. Every value of the Type attribute ending with 'ReferenceList' (for example, JobReferenceList, CloudTenantRefernceList) always refers to the EntityReferences element of the XML schema.
    2. Every value of the Type attribute ending with 'Reference' (for example, JobReference, CloudTenantRefernce) always refers to the EntityRef element of the XML schema.
    3. Values of the Type attribute ending with 'List' (for example, LogonSessionList) are generally transformed into plural element names (for example, LogonSessions).
    4. Values of the Type attribute that do not end with 'List', 'Reference' or 'ReferenceList' generally directly match root element names of the XML schema.

    For details on resource types mapping, see Appendix B. Mapping Link Types to XML Schema Elements.