Help Page Home

# POST SessionMachineCatalogs({id})/SessionMachines/Validate

Validate the details for creating new session machines within a session machine catalog. See Validation.

## Request Information

### Parameters

Name | Description | Additional information
--- | --- | ---
id | ID of the session machine catalog. | Type: String

## Request body type

CreateSessionMachineModel

### Request body formats

#### application/json, text/json

Sample:

    {
      "DataCenterId": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a",
      "DomainId": "241b45cc-261d-47d0-81d7-a0a41c54c760",
      "Servers": [
        "vda1",
        "vda2"
      ],
      "NetworkName": "Shared Delivery Group Management Network",
      "Tags": [
        "tag"
      ],
      "CustomProperties": [
        {
          "Name": "myProperty",
          "Value": "myValue"
        }
      ]
    }

## Response Information

See Validation.

### Response type

ValidationResultModel<CreateSessionMachineModel>

### Response body formats

#### application/json, text/json

Sample:

    {
      "Input": {
        "DataCenterId": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a",
        "DomainId": "241b45cc-261d-47d0-81d7-a0a41c54c760",
        "Servers": [
          "vda1",
          "vda2"
        ],
        "NetworkName": "Shared Delivery Group Management Network",
        "Tags": [
          "tag"
        ],
        "CustomProperties": [
          {
            "Name": "myProperty",
            "Value": "myValue"
          }
        ]
      },
      "Errors": [
        {
          "MemberNames": [
            "DataCenterId"
          ],
          "ErrorMessage": "Datacenter not found",
          "ErrorCode": "NotFound"
        }
      ]
    }