|
ver. 2035 (2605b6c) services/apiref services/apisrv services/attrs services/caches services/caches/formatters services/caches/map services/caches/search services/caches/shortcuts services/draftlogs services/lists services/logs services/logs/images services/oauth services/replicate services/users |
Upload Fieldnotes OCDE
|
||||||||||||||||||||||||||
|
||||
| https://www.opencaching.us/okapi/services/draftlogs/upload_fieldnotes | ||||
|
This method allows you to upload a series of fieldnote objects in CSV format. Fieldnotes are draft versions of log entries. Once uploaded, users will be able to review, edit, and submit them via the Opencaching website. This method is only available on installations that support draft logs. Check the has_draft_logs field in services/apisrv/installation before calling it. |
||||
| field_notes | required |
The fieldnotes data. Accepted either as a raw string or base64-encoded (base64 is recommended when the log text contains newlines or special characters, and is required when using the OKAPI Browser). The data is a sequence of CSV records with no header line. Each record has four fields:
Character encoding is detected automatically. Supported encodings: UTF-8 (with or without BOM), UTF-16LE (with or without BOM), UTF-16BE (with BOM). This covers all known fieldnote sources (cgeo, Garmin, Looking4Cache, etc.). Fieldnotes produced by multi-platform apps (e.g. cgeo) typically contain records for several geocaching platforms at once. Records not starting with an OC cache code are silently skipped; the difference between total_records and processed_records in the response reflects this. |
||
| format | optional | Standard common formatting argument. | ||
| callback | optional | Standard common formatting argument. | ||
| Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||
|
Returned value: A dictionary of the following structure:
| ||||