This is an archive version of the document. To get the most up-to-date information, see the current version.

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 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:

    1. Every value of the Type attribute ending with 'ReferenceList' (for example, JobReferenceList, CloudTenantRefernceList etc.) always refers to the EntityReferences element of the XML schema.
    2. Every value of the Type attribute ending with 'Reference' (for example, JobReference, CloudTenantRefernce etc.) 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.

    To learn more about resource types mapping, see Appendix B. Mapping Link Types to XML Schema Elements.