Package. Authorize by representative POST

Authorize package by representative

# ENDPOINT
/api/package/authorizeByRepresentative/packageSignRequest
# REQUEST BODY
# RESPONSE
        						
# REQUEST BODY
Schema: packageSignRequest
Type: object
Variable Name Type Format Usage Description
checksum checksum string Checksum
client_code client_code string Unique customer ID in external system
id id integer INT64 Record's sequence number generated in the system.
processing_date Processing date string
sync_processing Sync processing integer
# REQUEST BODY EXAMPLE
							{
    "client_code": "EN00000CY",
    "id": "21362"
}						
# 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
# RESPONSE NEGATIVE EXAMPLE
							{
    "status": "error",
    "error_description": "[ERROR-AUTHORIZE-PACKAGE : Empty nonce]",
    "error": {},
    "data_type": "",
    "total_records": -2,
    "data": {}
}						
# 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": {}
}