POST Tenants({id})/Subscriptions/Validate

Validate details for subscriptions to be created. See Validation.

Request Information

Parameters

NameDescriptionAdditional information
id

The ID of the tenant the subscription is being updated for.

Type: String

Request body type

CreateTenantSubscriptionModel

Request body formats

application/json, text/json

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

Response Information

See Validation.

Response type

ValidationResultModel<CreateTenantSubscriptionModel>

Response body formats

application/json, text/json

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