sgrEditarDestinatarioProgramacao
Change the estimated time of arrival or the type of operation of a recipient in the schedule.
PARAMETERS:
| Field | Type | Req. | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdclient | integer | Yes | Customer code, returned by the sgrListCompaniesPASUser method. |
| cdDestinatarioProgramacao | integer | Yes | Code of the recipient of the schedule to be changed |
| dtPrevArrival | datetime | No | New estimated arrival date. |
| cdProgrammingOperationType | integer | Yes | New scheduling operation type. The code for the scheduling operation type is returned by the sgrListSchedulingOperationType method. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the dataset will display:
| Field | Type | Description |
|---|---|---|
| cdDestinatarioProgramacao | List | Changed recipient code. |