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 |
|---|---|---|---|
formDataMap |
True |
||
formData |
True |
||
preamble |
string |
False |
|
parts |
array[InputPart] |
True |
Error
Status: Default, Default response
| Name | Type | Required | Description |
|---|---|---|---|
license |
string |
True |
|
serialNumber |
string |
False |
|
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 |
True |
||
wildcardType |
boolean |
False |
|
wildcardSubtype |
boolean |
False |
headers Hash mapping strings to array[string]
| Name | Type | Required | Description |
|---|---|---|---|
empty |
boolean |
False |
InputPart
| Name | Type | Required | Description |
|---|---|---|---|
contentTypeFromMessage |
boolean |
True |
|
bodyAsString |
string |
True |
|
mediaType |
True |
||
headers |
True |
formDataMap Hash mapping strings to array[InputPart]
formData Hash mapping strings to InputPart
contractEndDate