Skip to main content

Parse an uploaded cloud license file

POST /gcp/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

parts

array[InputPart]

True

preamble

string

False

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

False

subtype

string

False

parameters

parameters

True

wildcardSubtype

boolean

True

wildcardType

boolean

False

headers Hash mapping strings to array[string]

Name Type Required Description

empty

boolean

False

InputPart

Name Type Required Description

bodyAsString

string

True

mediaType

mediaType

True

contentTypeFromMessage

boolean

False

headers

headers

True

formData Hash mapping strings to InputPart

formDataMap Hash mapping strings to array[InputPart]

contractEndDate