Package. Delete Package POST

# ENDPOINT
/api/package/deletePackage/packageSearchRequest
# REQUEST BODY
# RESPONSE
        						
# REQUEST BODY
Schema: packageSearchRequest
Type: object
Variable Name Type Format Usage Description
client_code client_code string Unique customer ID in external system
date_from date_from string DATE The period of dates for which you need to receive an extract - date From
date_to date_to string DATE The period of dates for which you need to receive an extract - date To
delete_applications Delete applications integer
id id integer INT64 Record's sequence number generated in the system.
ignore_with_single_application Ignore with single application integer
limit limit integer int64 Count records for part data to get
offset_version Offset version INTEGER
offsetid Offsetid integer
page page integer int64 Part data with number of page
page_changes_version_offset Page changes version offset INTEGER
processing_status Processing Status string Processing operation status
processing_step Processing step string
skip_total_records Skip total records boolean
List of allowed values in field (value=>name):
  • 0
    false
  • 1
    true
with_min_application_count With min application count integer
# REQUEST BODY EXAMPLE
							{
    "client_code": "EN0000FRM",
    "id": "21364"
}						
# 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": {}
}