POST Domains/Validate
Validate the details of a domain to create. See Validation.
Request Information
Request body type
Request body formats
application/json, text/json
Sample:
{
"Name": "domain1.local",
"Type": "Both",
"IsPasswordProtected": true,
"DomainPasswordBase64": "cGFzc3dvcmQ=",
"OrchestrationServiceUserName": "DOMAIN\\orch",
"OrchestrationServicePasswordBase64": "cGFzc3dvcmQ=",
"ProductInstallUserName": "DOMAIN\\install",
"ProductInstallPasswordBase64": "cGFzc3dvcmQ=",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
}
Response Information
See Validation.
Response type
ValidationResultModel<CreateDomainModel>
Response body formats
application/json, text/json
Sample:
{
"Input": {
"Name": "domain1.local",
"Type": "Both",
"IsPasswordProtected": true,
"DomainPasswordBase64": "cGFzc3dvcmQ=",
"OrchestrationServiceUserName": "DOMAIN\\orch",
"OrchestrationServicePasswordBase64": "cGFzc3dvcmQ=",
"ProductInstallUserName": "DOMAIN\\install",
"ProductInstallPasswordBase64": "cGFzc3dvcmQ=",
"Tags": [
"tag"
],
"CustomProperties": [
{
"Name": "myProperty",
"Value": "myValue"
}
]
},
"Errors": [
{
"MemberNames": [
"Name"
],
"ErrorMessage": "Required",
"ErrorCode": "Required"
}
]
}