sgrBaixaProgramacao
Method that allows programming to be downloaded.
PARAMETERS:
| Field | Type | Req. | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdprogramacao | integer | Yes | Code of the program to be downloaded. |
| nrCGCCPFLocalBaixa | string | Yes | CPF/CNPJ of the download location. |
| dtRealIniCarreg | string | Yes | Loading start date. The format is 'YYYY-MM-DD', allowing you to send '1900-01-01' when it doesn't exist. |
| dtRealEndLoad | string | Yes | End of load date. The format is 'YYYY-MM-DD', allowing '1900-01-01' to be sent when it doesn't exist. |
| vlLoadWeight | decimal | Yes | Load weight. |
| vlLoadCubage | decimal | Yes | Load cubage. |
| vlLoadVolume | decimal | Yes | Load volume. |
| dsDischargeDetail | string | Yes | Remarks on the discharge of the schedule; |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the total write-off will download the schedule and all the linked documents.
ReturnDescription: If there is an error in the execution of the method, the property will be displayed:
| Error | Description |
|---|---|
| No location was provided | No location was provided when searching for the content entered in the “nrCGCCPFLocalBaixa” parameter. You need to review the information and try again. |