Register Vr Server
Register a replication server.
Request
URI
POST
https://{api_host}/replication-servers
COPY
Request Body
An ID of the vSphere Replication server virtual machine.
StringDrData
of type(s)
application/json
Required
{
"value": "string"
}
string
value
Optional
value
Responses
202
Accepted
Returns
TaskDrResponseEntity
of type(s)
application/json
This response body class contains all of the following:
Task
{
"id": "string",
"description": "string",
"description_id": "string",
"entity": "string",
"entity_name": "string",
"status": "string",
"error": {
"message": "string",
"details": "string"
},
"progress": 0,
"queued_time": "string",
"start_time": "string",
"complete_time": "string",
"_meta": {
"errors": [
{
"code": "string",
"message": "string",
"field": "string"
}
]
}
}
400
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Returns
ResponseError
of type(s)
application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid
As uuid
op_id
Optional
op_id
401
Unauthorized - the client must authenticate itself to get the requested response
Operation doesn't return any data structure
403
Forbidden - not sufficient access rights to fulfill the request
Returns
ResponseError
of type(s)
application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid
As uuid
op_id
Optional
op_id
500
Internal server error - unexpected condition prevents fulfilling the request
Returns
ResponseError
of type(s)
application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid
As uuid
op_id
Optional
op_id