Skip to main content

Parse an uploaded cloud license file

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

contractEndDate

contractEndDate

False

license

string

True

serialNumber

string

False

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

Definitions

See Definitions

headers Hash mapping strings to array[string]

Name Type Required Description

empty

boolean

False

parameters Hash mapping strings to string

mediaType

Name Type Required Description

parameters

parameters

True

subtype

string

False

type

string

False

wildcardSubtype

boolean

False

wildcardType

boolean

False

InputPart

Name Type Required Description

bodyAsString

string

True

contentTypeFromMessage

boolean

True

headers

headers

True

mediaType

mediaType

True

formData Hash mapping strings to InputPart

formDataMap Hash mapping strings to array[InputPart]

contractEndDate