Skip to main content

sgrIncluirDocumentoAE

Includes new documents in the Boarding Authorization.

SoapAction

PARAMETERS

FieldTypeRequired?Description
chaveacessostringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteopentechintegerYesClient code, returned by the sgrListaEmpresasPASUsuario method.
cdviagemintegerYesBoarding authorization number.
documentoslistYesList of Boarding Authorization documents. To use this parameter, you must create an array of the sgrDocumentoAE type

METHOD RETURN:

If the parameters are filled in correctly, the ReturnDataset property will display:

FieldDescription
CDVIAG integerAE number in which the document was included

ReturnDescription: If there is an error when executing the method, the property will display:

ErrorDescription
It was not possible to include the Document in the Shipping Authorization.For this error, the method may contain the details listed in Table 4