Help Page Home

# POST SessionMachineCatalogs/Validate

Validate the details of a session machine catalog to create. See Validation.

## Request Information

## Request body type

CreateSessionMachineCatalogModel

### Request body formats

#### application/json, text/json

Sample:

    {
      "Name": "catalog 1",
      "ShortName": "catalog1",
      "Description": "my session machine catalog",
      "MachineType": "SingleUserVda",
      "AllocationType": "Random",
      "LoadBalancingSettings": {
        "MaxUsers": 250,
        "IncludeCpuMemory": true
      },
      "AutoProvision": true,
      "AutoProvisioningSettings": {
        "RequirePrivateComputeResource": false,
        "ResetOnReboot": false,
        "PVDiskSizeGB": 10,
        "PVDiskLetter": "V",
        "NamingConvention": "SRV_####",
        "NamingConventionType": "Numerical",
        "VCpus": 2,
        "MemoryMB": 4096,
        "Template": "win8_base_os"
      },
      "Tags": [
        "tag"
      ],
      "CustomProperties": [
        {
          "Name": "myProperty",
          "Value": "myValue"
        }
      ]
    }

## Response Information

See Validation.

### Response type

ValidationResultModel<CreateSessionMachineCatalogModel>

### Response body formats

#### application/json, text/json

Sample:

    {
      "Input": {
        "Name": "catalog 1",
        "ShortName": "catalog1",
        "Description": "my session machine catalog",
        "MachineType": "SingleUserVda",
        "AllocationType": "Random",
        "LoadBalancingSettings": {
          "MaxUsers": 250,
          "IncludeCpuMemory": true
        },
        "AutoProvision": true,
        "AutoProvisioningSettings": {
          "RequirePrivateComputeResource": false,
          "ResetOnReboot": false,
          "PVDiskSizeGB": 10,
          "PVDiskLetter": "V",
          "NamingConvention": "SRV_####",
          "NamingConventionType": "Numerical",
          "VCpus": 2,
          "MemoryMB": 4096,
          "Template": "win8_base_os"
        },
        "Tags": [
          "tag"
        ],
        "CustomProperties": [
          {
            "Name": "myProperty",
            "Value": "myValue"
          }
        ]
      },
      "Errors": [
        {
          "MemberNames": [
            "Name"
          ],
          "ErrorMessage": "Required",
          "ErrorCode": "Required"
        }
      ]
    }