Skip to content

Incorrect VM Snapshot Id in API response #6444

@satishglondhe

Description

@satishglondhe
ISSUE TYPE
  • Bug Report
COMPONENT NAME
API
CLOUDSTACK VERSION
CloudStack 4.16.1.0
CONFIGURATION

N/A

OS / ENVIRONMENT

N/A

SUMMARY

While creating VM Snapshot using APIs working fine but in the response it returns int id instead of UUID which is required to do the further snapshot operations.

STEPS TO REPRODUCE

Create VM Snapshot using API createVMSnapshot
apiref: https://cloudstack.apache.org/api/apidocs-4.16/apis/createVMSnapshot.html

EXPECTED RESULTS
It should return UUID of the snapshot

ACTUAL RESULTS

The createVMSnapshot job returning the int id instead of snapshot UUID
Current API response is

{"createvmsnapshotresponse":{"id":"39","jobid":"c89c1aa2-c34c-478a-810e-b221c2a1076c"}}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions