Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter Twenty-oneEDGARView Integration (continued)

EDGARNextAPISubmit Function

Overview

The EDGARNextAPISubmit function submits a file using the EDGAR Next API.

Syntax/Parameters

Syntax

string = EDGARNextAPISubmit ( string file | handle file,
                         [boolean live], [boolean bulk] );

Parameters

file

A string or handle to the formatted file to submit to the system. The string should be a fully qualified filename and path while the handle must be a File Object.

live

An optional boolean indicating whether the submission is a LIVE submission. The default is FALSE for test filing.

bulk

An optional boolean indicating whether the submission is a bulk filing or a single submission. The default is FALSE for a single filing.

Return Value

Returns a string as a JSON object or an error report from the function. Use the GetLastError and GetLastErrorMessage functions to retrieve a formatted error code or textual error detail.

Remarks

Use of the filing features in no way abrogates the per workstation licensing requirements of application or its components. Use of the filing SDK functions serving commercial production services, web services or large scale filing is prohibited under the standard license agreement unless covered by a separate and specific license agreement.

The API endpoint used is based on the live and bulk parameters. Live indicates the file is a live submission. Bulk indicates the filing is a bulk filing.  The application will return either the JSON returned by the API command or an error string. Users should use GetLastError to determine if the function was successful. Not that a successful function call does not mean the filing was successful or even accepted by the EDGAR system. The JSON results would need to be read. For more information see the EDGAR Next API documentation.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE