This call is designed to submit ACE Report information using an API call.
|port_id||The port's unique ID.|
The date of the ACE report, in yyyy-mm-dd format
|report||The ACE Report Submission message (max 6000 characters)|
Method Type: POST
For ACE Report submission: /api/submit/ace_report.<format>
An XML or JSON output confirming that your port ACE report was submitted successfully.
|Alternative format Input:||http://www.findaport.com/api/submit/ace_report.xml?key=<API key>&port_id=1&report_date[year]=2013&report_date[month]=01&report_date[day]=&report=this%20
|Output:||An XML or JSON output confirming that your port ACE report was submitted successfully.|
|message||The returned message after submission||<message>Your ACE report was submitted successfully</message>|
Valid ACE Report submission returns "Your ACE report was submitted successfully"
Empty Port ID returns "Port not found for the supplied port_id"
Empty report_date message returns "Please supply report_date"
Invalid date format returns "The supplied report_date was in an incorrect format.
The correct format is yyyy-mm-dd"
Invalid alternative date format returns "Please supply report_date"
Empty report text returns "Report parameter was empty"
Need an API Key? Click here here for more details.
If you would like to find out more about Findaport.com or our Findaport API service, please contact us at email@example.com. Shipping Guides Ltd are recognised industry specialists in publishing port and harbour information for your various port entry requirements. For more information on our products, please visit www.portinfo.co.uk.