Package. Add application POST

Package. Add application to package

# ENDPOINT
/api/package/addApplication/packageApplicationsSearchRequest
# REQUEST BODY
# RESPONSE
        						
# REQUEST BODY
Schema: packageApplicationsSearchRequest
Type: object
Variable Name Type Format Usage Description
application_id Application id integer
client_code client_code string Unique customer ID in external system
limit limit integer int64 Count records for part data to get
offset_version Offset version INTEGER
offsetid Offsetid integer
package_id Package id integer
page page integer int64 Part data with number of page
page_changes_version_offset Page changes version offset INTEGER
skip_total_records Skip total records boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
# REQUEST BODY EXAMPLE
							{
    "client_code": "EN0000FRM",
    "package_id": "20929",
    "application_id" : "4964"
}						
# NEGATIVE RESPONSE

200 - Response with error when status is ERROR

Schema: HeaderResponseStatusError
Type: object
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object Empty object
# POSITIVE RESPONSE

200 - Response successfully when status is OK

Schema: HeaderResponseStatusOk
Type: object
Variable Name Type Format Description
status status string Request execution status
error_description Error Description string Description of error
error Error Code string Error code
data_type data_type string Type of data
total_records total_records string Total count of records
data data object Empty object
# RESPONSE POSITIVE EXAMPLE
							{
    "status": "ok",
    "error_description": "",
    "error": {},
    "data_type": "",
    "total_records": -2,
    "data": {}
}