VMware Networking Community
Mike_Gray
Enthusiast
Enthusiast

api help

can someone tell me the usage of following rest call

api/v1/transport-nodes/<tn-id>?if_id=vmkX&esx_mgmt_if_migration_dest=<LSwitch>

i am getting the following response when i tried to follow the same format

{

  "httpStatus" : "BAD_REQUEST",

  "error_code" : 220,

  "module_name" : "common-services",

  "error_message" : "Required request body is missing: public java.lang.Object com.vmware.nsxapi.transportnode.controller.TransportNodeController.updateTransportNode(java.lang.String,java.lang.String,java.lang.String,com.vmware.nsxapi.transportnode.dto.TransportNodeDto,javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)"

Tags (1)
Reply
0 Kudos
2 Replies
Mike_Gray
Enthusiast
Enthusiast

can some one help me on this

Reply
0 Kudos
Sreec
VMware Employee
VMware Employee

May I know what you are trying to achieve with this API call ? Also please confirm the API document which you followed for below command execution.

Cheers,
Sree | VCIX-5X| VCAP-5X| VExpert 6x|Cisco Certified Specialist
Please KUDO helpful posts and mark the thread as solved if answered
Reply
0 Kudos