...
- After the data import program has interpreted (or attempted to interpret) the submitted e-logbook data, the data import program writes a receipt file. The proposed receipt will consist of an exact recapitulation of the submitted data with the following additions:
- a "ReceiptMessages" element will be added to the XML as a child element of the top level "LogbookReport" element
- the ReceiptMessages element will contain one or more messages documenting success or failure(s) in the interpretation of the e-logbook submission; in the best case, the returned message might consist of the text "ok"
- for each element in the returned XML which consists of a code, for example, gear code, the XML schema will provide an optional attribute for a name; when the XML is submitted from the vessel these optional attributes will not be present (and if they are present they will be ignored); when the XML is returned from the agency as a receipt, these optional attributes will be populated by the agency to indicate that the code was recognized and to confirm what the code represents; for example
- incoming XML markup for gear may look like <gear>91</gear>
- outgoing (receipt) XML markup for gear may look like <gear name="Pot">91</gear>
- a "ReceiptMessages" element will be added to the XML as a child element of the top level "LogbookReport" element
- The receipt file will be written back onto the portable media if that media is to be returned to the vessel operator
- Assuming that the data import was successful, or at least successful enough that the e-logbook's permit could be ascertained, the receipt file will also be emailed directly by the data import program to the address of record for the permit holder
- If the receipt file cannot be emailed directly to the address of record for the permit holder the operator executing the data import program is notified so that they can take steps to inform the submitter