Zerto Virtual Replication APIs : Session API : https://zvm_ip:port/v1/session – POST Method
  
https://zvm_ip:port/v1/session – POST Method
Sets up an authenticated session for the Zerto Virtual Replication RESTful API.
URI
Start session
https://zvm_ip:port/v1/session/Add
Where:
zvm_ip
The IP address of the Zerto Virtual Manager where the API is run.
port
The port to access the Zerto Virtual Manager. The default port is 9669.
Json Request Format:
{
  "AuthenticationMethod": "String content"
}
XML Request Format
For the XML response format, see Session API XML Request Format.
REQUEST Values
Parameter
Description
AuthenticationMethod
The authentication to use for the APIs. Possible values are (JSON/XML):
0/Windows – Authentication requires the username and password to access the machine where the Zerto Virtual Manager or Zerto Cloud Appliance is installed and where the APIs will run. Windows authentication is the default if AuthenticationMethod is not set.
1/VirtualizationManager – Authentication requires the username and password to access the VMware vCenter Server or Microsoft SCVMM accessed by the Zerto Virtual Manager where the APIs will run.
Response Format
The response body is empty.