System APIs
Creates a new deployment package
HTTP method | POST |
URI | https://api.rambase.net/system/deployment-packages |
Supported formats | Xml, Html, Json (ex. $format=json) |
Successful HTTP status code | 201 |
API resource identifier | 5625, version 5 |
The following body must be added to the request. Mouse over fieldnames for description and other useful information about the fields. Note that fields in bold are required/mandatory.
Name
Required/mandatory field
Name of deployment object package
>{String}</Name>Description
Description of deployment package object
This field is optional.
>{String}</Description>RiskAssessment
This field is optional.
>IsEmergency
True if deployment is urgent
Default value: False
This field is optional.
>{Boolean}</IsEmergency>DeploymentObjects
This field is optional.
>DeploymentObject
This field is optional.
>Comment
Comment to the deployment object
This field is optional.
>{String}</Comment>Object
This field is optional.
>ObjectType
Type of object
This field is optional.
>{String}</ObjectType>ObjectId
Identifier of the object
This field is optional.
>{String}</ObjectId>DeploymentPackageAdministrators
This field is optional.
>DeploymentPackageAdministrator
This field is optional.
>User
This field is optional.
>UserId
User identifier
Minimum value: 100
This field is optional.
>{Integer}</UserId>Name
Required/mandatory field
Name of deployment object package
": "{String}",Description
Description of deployment package object
This field is optional.
": "{String}",RiskAssessment
This field is optional.
": {IsEmergency
True if deployment is urgent
Default value: False
This field is optional.
": "{Boolean}"DeploymentObjects
This field is optional.
": [Comment
Comment to the deployment object
This field is optional.
": "{String}",Object
This field is optional.
": {ObjectType
Type of object
This field is optional.
": "{String}",ObjectId
Identifier of the object
This field is optional.
": "{String}"DeploymentPackageAdministrators
This field is optional.
": [User
This field is optional.
": {UserId
User identifier
Minimum value: 100
This field is optional.
": "{Integer}"The query string is placed after the resource URL, seperated with a questionmark (?). The query string is composed of a series of query parameters with values. See the page about query parameters on how to use these parameters.
$access_token String, optional | After successful login you get an access token which needs to be provided in all API requests. Even though it is possible to pass this token as query parameter, we recommended passing it using the HTTP request header as described in Authorization. Note that all access tokens have an expiration time. |
$db String, optional | Set the database/company for the request |
$useMinimumVersion Integer, optional | Used to run a new version of an API resource when your API client is running a deprecated API resource. See the Breaking changes page for more information. |
$showDomainDescriptions Boolean, optional | Set to "true" to include domain descriptions for fields using domain values. See the Domain values page for more information. Default value is false. |
$lang String, optional | Specifies the language used in the response, following the 3-letter ISO-639-1 [lll] |
Read more about filters and sorting on how to use filter parameters and named filters.
Read more about filters and sorting on how to use sortable parameters
Requesting this resource will yield the following response. Mouse over fieldnames (or fieldgroups) for descriptions and other useful information about the fields.
Please note that some fields may be removed from the response, based on user roles/duties/permissions.
DeploymentPackageId
Deployment package identifier
>{Integer}</DeploymentPackageId>Status
Status of deployment package
Possible domain values can be found here
>{Integer}</Status>CreatedAt
Date and time of creation
>{Datetime}</CreatedAt>Name
Name of deployment object package
>{String}</Name>ExternalReference
External reference (jira issue) of deployment package
>{String}</ExternalReference>Description
Description of deployment package object
>{String}</Description>NumberOfObjects
Number of objects in package
>{Integer}</NumberOfObjects>NumberOfFolders
Number of folders in package
>{Integer}</NumberOfFolders>NumberOfControls
Number of control in deployment package
>{Integer}</NumberOfControls>NumberOfRelatedAPIResources
Total number of related API resources added to deployment package
>{Integer}</NumberOfRelatedAPIResources>CommittedAt
Date and time deployment package was committed
>{Datetime}</CommittedAt>UserId
User identifier
>{Integer}</UserId>FirstName
First name of the user
>{String}</FirstName>Name
Name of the user
>{String}</Name>UserLink
User reference
>{String}</UserLink>IsEmergency
True if deployment is urgent
>{Boolean}</IsEmergency>RiskScore
Risk score of assessment
>{Integer}</RiskScore>Severity
Severity of reduced product quality
Possible domain values can be found here
>{Integer}</Severity>Likelihood
Likelihood of reduced product quality
Possible domain values can be found here
>{Integer}</Likelihood>DeploymentPackageId
Deployment package identifier
": "{Integer}",Status
Status of deployment package
Possible domain values can be found here
": "{Integer}",CreatedAt
Date and time of creation
": "{Datetime}",Name
Name of deployment object package
": "{String}",ExternalReference
External reference (jira issue) of deployment package
": "{String}",Description
Description of deployment package object
": "{String}",NumberOfObjects
Number of objects in package
": "{Integer}",NumberOfFolders
Number of folders in package
": "{Integer}",NumberOfControls
Number of control in deployment package
": "{Integer}",NumberOfRelatedAPIResources
Total number of related API resources added to deployment package
": "{Integer}",CommittedAt
Date and time deployment package was committed
": "{Datetime}",UserId
User identifier
": "{Integer}",FirstName
First name of the user
": "{String}",Name
Name of the user
": "{String}",UserLink
User reference
": "{String}"IsEmergency
True if deployment is urgent
": "{Boolean}",RiskScore
Risk score of assessment
": "{Integer}",Severity
Severity of reduced product quality
Possible domain values can be found here
": "{Integer}",Likelihood
Likelihood of reduced product quality
Possible domain values can be found here
": "{Integer}"
List of available operations/actions for this resource.
See the operations documentation for more information about API operations.
Possible error codes the response might return:
Error 104814 HTTP 400 | Invalid archive |
Error 101551 HTTP 404 | Object {0} not found |
Error 104815 HTTP 400 | Object already exists |
Error 104833 HTTP 404 | Folder not found |