Upload Product Version Catalog

Upload Product Version Catalog

Upload product version catalog. Make sure product version is a valid one.

Request
URI
POST
https://{api_host}/v1/product-version-catalog
COPY
Request Body
ProductVersionCatalog of type(s) application/json
Required
{
    "version": 0,
    "sequenceNumber": 0,
    "creationTime": "string",
    "publishedTime": "string",
    "patches": {
        "patches": [
            {
                "productVersion": "string",
                "artifacts": {
                    "bundles": [
                        {
                            "id": "string",
                            "type": "string",
                            "name": "string"
                        }
                    ]
                }
            }
        ]
    }
}
integer As int32 As int32
version
Optional

Product Version catalog version supported by VCF

integer As int32 As int32
sequenceNumber
Optional

Product Version catalog sequence number which signifies an update in the product version catalog

string
creationTime
Optional

Creation time for the Product Version catalog e.g. 2020-06-08T02:20:15.844Z, in yyyy-MM-dd'T'HH:mm:ss[.SSS]XXX ISO 8601 format

string
publishedTime
Optional

Time of publish of the Product Version catalog e.g. 2020-06-08T02:20:15.844Z, in yyyy-MM-dd'T'HH:mm:ss[.SSS]XXX ISO 8601 format

object
patches
Optional

Patches used for the product version catalog

Responses
202

Accepted

Operation doesn't return any data structure

400

Bad Request

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


500

InternalServerError

Returns Error of type(s) application/json
"Error Object"
string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

object
context
Optional

The error context (e.g. the component where it occurred).

string
message
Optional

The localized error message

string
remediationMessage
Optional

The localized remediation error message

array of object
causes
Optional

The underlying cause exceptions.

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/v1/product-version-catalog