Skip to main content

Parse an uploaded cloud license file

POST /azure/ha/working-environments/parse-license-file

Parses an uploaded cloud license file.

Parameters

Name Type In Required Description

filename

string

header

False

Request Body

Name Type Required Description

formData

formData

True

formDataMap

formDataMap

True

preamble

string

False

parts

array[InputPart]

True

Error

Status: Default, Default response
Name Type Required Description

license

string

True

serialNumber

string

False

contractEndDate

contractEndDate

False

Example error response
{
  "license": "string",
  "serialNumber": "string"
}

Definitions

See Definitions

parameters Hash mapping strings to string

mediaType

Name Type Required Description

type

string

True

subtype

string

False

parameters

parameters

True

wildcardSubtype

boolean

False

wildcardType

boolean

False

headers Hash mapping strings to array[string]

Name Type Required Description

empty

boolean

False

InputPart

Name Type Required Description

contentTypeFromMessage

boolean

True

mediaType

mediaType

True

bodyAsString

string

False

headers

headers

True

formData Hash mapping strings to InputPart

formDataMap Hash mapping strings to array[InputPart]

contractEndDate