Import Package
POST/importTransportPackage
This API imports a compressed file containing objects specified for T2P migration.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
packagetoimport
- Complete path of the package that needs to be imported
Optional params:
updateuser
- username of the user importing the package, businessjustification
Supported objects:
savRoles
, emailTemplate
, roles
, analyticsV1
, analyticsV2
, globalConfig
, workflows
, connection
, appOnboarding
, userGroups
, scanRules
, organizations
, securitySystems
Request
- application/json
Body
businessjustification string
packagetoimport string
updateuser string
Responses
- 200
Import Package - Success
Response Headers
Date
string
Set-Cookie
string
Strict-Transport-Security
string
Vary
string
X-Content-Type-Options
string
- application/json
- Schema
- Example (from schema)
- Import Package - Success
Schema
errorcode number
msg string
msgDescription string
requestId string
{
"errorcode": 0,
"msg": "success",
"msgDescription": "Import Requested. If other requests are currently processing, your import will begin after they complete. You can call /transportPackageStatus API to check the status of your import",
"requestId": "2490001"
}
{
"errorcode": 0,
"msg": "success",
"msgDescription": "Import Requested. If other requests are currently processing, your import will begin after they complete. You can call /transportPackageStatus API to check the status of your import",
"requestId": "2490001"
}
Loading...