Highlighted
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)
0 Kudos
2 Replies
Highlighted
Enthusiast
Enthusiast

can some one help me on this

0 Kudos
Highlighted
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 | CKA|VCAP-NSX-T| VCIX-3X| VCAP-3X| VExpert 4x
0 Kudos