Cargo Manifest Query Response Explanations
Query responses
If everything goes correctly, the system will respond with the actual response text from Customs:
<response><![CDATA[
A2609ST9      040325     C1                                                     
B  2704ST9C1                                               1611239860           
WR1                                       XXXNOOVW COLUMBUS       V311W033125   
WR4            6419833500                          00000920PKG  XXXN    MX5     
WR503122510503Z BOL MATCHED TO ISF                               0        001   
WR5031425060169 BILL ON FILE                                     920      002   
WR5032625132154 CARRIER BILL AMENDMENT - DELETE                  920      003   
WR5032625132155 CARRIER BILL AMENDMENT - ADD                     920      004   
WR5033125153019 CONVEYANCE ARRIVAL                                        005   
WN1            27092709                    57078031625                          
Y  2704ST9C100015                                                               
Z2609ST9      040325                                                            
]]></response>

If a response is not received from Customs within 2 minutes, this message will be returned:
<response-not-received>
    <message>
        You will not be charged for this query
    </message>
    <transmission-id>
        43281
    </transmission-id>
</response-not-received>

If there are problems, they will be in the following forms:
<rejected>username/password invalid</rejected>
<rejected>
    <validation-error>
        Line 15: cvc-complex-type.2.4.b: The content of element 'query' is
        not complete. One of '{"http://www.netchb.com/xml/cmq":entry-number,
        "http://www.netchb.com/xml/cmq":inbond-number,
        "http://www.netchb.com/xml/cmq":master-bill,
        "http://www.netchb.com/xml/cmq":air-waybill}' is expected.
    </validation-error>
</rejected>

<rejected>you do not have sufficient privileges</rejected>
<error><!-- A stack trace would be included here --></error>

In the event that the request takes over two minutes. The system will return the Transmission Id in the <transmission-id> tag.
The end-point, checkQueryResults, will return the response if the system has processed it. This end-point takes in a Username, Password, and Transmission Id. You will only be charged for the query if the response has been returned. If the response has still not been processed, the below message will be returned.
<response-not-received>
    <message>
        You will not be charged for this query
    </message>
    <transmission-id>
        43281
    </transmission-id>
</response-not-received>