POST Subscriptions/Validate

Validate details for subscriptions to be created. See Validation.

Request Information

Request body type

CreateSubscriptionModel

Request body formats

application/json, text/json

Sample:
{
  "OfferingIds": [
    "2f08f456-7ec8-4edc-866d-25037776ef4f"
  ],
  "TenantId": "91ade655-feb5-47d3-9585-a5827ad50132",
  "Groups": [
    "DOMAIN\\group1",
    "DOMAIN\\group2"
  ],
  "Tags": [
    "tag"
  ],
  "CustomProperties": [
    {
      "Name": "myProperty",
      "Value": "myValue"
    }
  ]
}

Response Information

See Validation.

Response type

ValidationResultModel<CreateSubscriptionModel>

Response body formats

application/json, text/json

Sample:
{
  "Input": {
    "OfferingIds": [
      "2f08f456-7ec8-4edc-866d-25037776ef4f"
    ],
    "TenantId": "91ade655-feb5-47d3-9585-a5827ad50132",
    "Groups": [
      "DOMAIN\\group1",
      "DOMAIN\\group2"
    ],
    "Tags": [
      "tag"
    ],
    "CustomProperties": [
      {
        "Name": "myProperty",
        "Value": "myValue"
      }
    ]
  },
  "Errors": [
    {
      "MemberNames": [
        "TenantId"
      ],
      "ErrorMessage": "Required",
      "ErrorCode": "ArgumentInvalid"
    }
  ]
}