Import Package Http Method Override

Import Package Http Method Override

Import IPAM package on chunks of specified size with additional http method override. This API implements the TUS RFC: https://github.com/tus/tus-resumable-upload-protocol/blob/main/protocol.md#x-http-method-override

Request
URI
POST
https://vra-interop-222-139.lvn.broadcom.net/iaas/api/integrations-ipam/package-import/{id}
COPY
Path Parameters
string
id
Required

IPAM package id

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about

Header Parameters
string
Tus-Resumable
Required

Tus version

Tus-Resumable example
1.0.0
string
Upload-Offset
Required

Upload offset

Upload-Offset example
100
string
Content-Type
Required

Content type

Content-Type example
application/offset+octet-stream
string
X-HTTP-Method-Override
Required

The http method to be used on the server instead of the actual method of the request. This header usage is part of the specfication for resumable uploads - https://tus.io/protocols/resumable-upload

X-HTTP-Method-Override example
PATCH

Request Body
string of type(s) application/json
Optional
Authentication
This operation uses the following authentication methods.
Responses
204

Successful operation

Operation doesn't return any data structure

400

Invalid Request - bad data

Returns PackageImportBadRequestResponse of type(s) application/json
{
    "providerId": "string",
    "providerName": "string",
    "providerVersion": "string",
    "logoIcon": "string",
    "bundleId": "string",
    "integrationType": "string",
    "message": "string"
}
string
providerId
Optional

providerId

string
providerName
Optional

providerName

string
providerVersion
Optional

providerVersion

string As byte As byte
logoIcon
Optional

logoIcon

string
bundleId
Optional

bundleId

string
integrationType
Optional

integrationType

Possible values are : vRO, ABX,
string
message
Optional

message


403

Forbidden

Returns ServiceErrorResponse of type(s) application/json
"ServiceErrorResponse Object"
string
message
Optional

message

string
messageId
Optional

messageId

array of string
stackTrace
Optional

stackTrace

integer As int32 As int32
statusCode
Optional

statusCode

integer As int32 As int32
errorCode
Optional

errorCode

array of string
details
Optional

details

string
serverErrorId
Optional

serverErrorId

string
documentKind
Optional

documentKind

integer As int32 As int32
internalErrorCode
Optional

internalErrorCode


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '[{}]' https://{api_host}/iaas/api/integrations-ipam/package-import/{id}