Home

Prealert CN

This API allows you to alert the arrival of an AWB within the Hound Express System.

🚧

Do you have questions about our APIs?
If you need help, don’t forget to use our artificial intelligence — it will help you generate examples that fit your specific needs, variations, and the required parameters for using each Hound Express API.

📘

### Request

To carry out the consumption of the service for the creation of the order it is necessary to send a json object of the MAWB type that contains the following fields:

MAWB

Field name

Type

MaxLength

Required

Comments

mawb_number

String

11

Required

This is the folio number assigned by the Iata Agent on your MAWB, by standard it must be 11 digits number. In case the master number is already registered and you want to carry out an update, it is necessary to add the parameter "isUpdate" to the consumption, otherwise the system prevents duplication of MAWB creation with the same number.

expected_arrive_date

String

20

Required

Please inform us about the date when the MAWB will arrive with us

expected format of the string is: yyyy-MM-dd HH:mm:ss using 24h standard

mawb_object

Object


Required

General mawb data, some values are decimal, integer and text.

close_mawb

Boolean

True or false

Required

It is to close the MAWB at 10 o'clock.

isUpdate

Boolean

True or false

Required

Validates if the MAWB was updated

mawb_format

Byte(array)


Required

Add the file with the digital version of the MAWB format on a byte array conversion.

mawb_format_fileName

String

100

Required

You must indicate the name of your file with pdf extension

mawb_production

Byte(array)


Required

This is an Excel that is item-based.

mawb_production_FileName

String

100

Required

You must indicate the name of your file excel per items

mawb_packages

Byte(array)


Required

This is an Excel that is packages-based.

mawb_packages_FileName

String

100

Required

You must indicate the name of your file excel per packages.

MAWB OBJECT

Field nameTypemaxlengthRequiredComments
weigthDouble5RequiredWeight of the mawb
paquetesInteger5RequiredNumber of mawb packets
id_origenInteger2Requiredif the mawb the origin is CN please put 18.To MX origin type 26. otherwise type 19.
physicalWeightDouble5RequiredPhysical weight of the mawb
volumetricWeightDouble5RequiredVolumetric weight of the mawb
colocacionString3RequiredPlace the mawb customs of arrival if your mawb arrival in AIFA put NLU, else if your mawb arrival in CDMX put MEX, else if your mawb arrival in GDL put GDL, else if your mawb arrival in LAREDO put NLR
bultosInteger5RequiredMawb lumps

Response

👍

### Successful response

Msg

Field NameTypeComments
codeStringThis field to indicate code of the response
valueStringThis field to indicate description of the response in english
typeStringThis field to indicate type of the response
descriptionStringThis field to indicate description of the response in spanish

❗️

> wsErrors elements

Field NameTypeCommens
codeStringError code
typeIntegerSeverity of the error
descriptionStringDescription with more details of the detected error

❗️

### Errors

TypeCodeDescription
errorECGOFJThe object json is malformed, it must have a correctr structure, please verify the documentation on: [URL API DOCS]
errorNOMAWBFThe field: mawb_format_fileName must not be empty
errorNOMAWBCThe field: mawb_format must not be null and must have the byteArray of the digitalized MAWB
errorNOMAWBDFThe field: Expected_arrive_date must be on yyyy-MM-dd HH:mm:ss format
errorNOWEIGThe field: weight in mawb object is requered
errorNOPAQThe field: paquetes in mawb object is requered
errorNOPAQThe field: id_origen in mawb object is requered
errorNOPAQThe field: physicalWeight in mawb object is requered
errorNOPAQThe field: volumetricWeight in mawb object is requered
errorNOPAQThe field: colocacion in mawb object is requered
errorNOPAQThe field: bultos in mawb object is requered
errorNOMATThe field: manifest type in mawb object is requered
errorNOMAWBOThe field: Mawb object is requered
errorERRORThe field: valor_declarado is required on guide: ( [MESSAGE] )
errorERRORThe field: peso is required on guide: ( [MESSAGE] )
errorERRORwe detect an error: ( [MESSAGE] )
errorERRHSC( [MESSAGE] )
Language
Click Try It! to start a request and see the response here!