I’ve been successfully using v8 REST API. After the upgrade of EM I’m trying to use v9 API.
Has there been changes from v8 to v9 for this particular call: (POST) /jobs/{ID}/includes: https://helpcenter.veeam.com/backup/res ... ludes.html ?
Below is my request, which worked for v8.
•POST:/jobs/2969abe3-f684-4b5b-859d-0002755068da/includes
Code: Select all
<CreateObjectInJobSpec xmlns="http://www.veeam.com/ent/v1.0">
<HierarchyObjRef>urn:VMware:Vm:c2d7cab5-7187-4d69-b772-891c3391a29a.vm-1381</HierarchyObjRef>
<HierarchyObjName>VM1</HierarchyObjName>
</CreateObjectInJobSpec>
•GET:/tasks/task-9
Code: Select all
<Task Type="Task" Href="https://veeam-em:9398/api/tasks/task-9" xmlns="http://www.veeam.com/ent/v1.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Links>
<Link Href="https://veeam-em:9398/api/tasks/task-9" Type="Task" Rel="Delete"/>
</Links>
<TaskId>task-9</TaskId>
<State>Finished</State>
<Operation>UpdateJob</Operation>
<Result Success="false">
<Message>Object reference not set to an instance of an object.</Message> <<< ERROR?
</Result>
</Task>
Where else and what else can I check to further troubleshoot this issue?