sgrRetornaTrocaVeic
Returns journeys with a changed license plate within a period.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method |
| cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
| dtinitial | datetime | Yes | Start/end date of the search, limited to an interval of 30 days. |
| dtfinal | datetime | Yes | Search start/end date, limited to a 30-day interval. |
| cdviagem | Int | No* | Number of the AE/program to be consulted. * You must enter the number of the AE, or the number of the schedule that generated the trip. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
| Field | Type | Description |
|---|---|---|
| cdViag | integer | Shipment authorization number |
| nrProgramacao | String | Schedule number |
| cdProgramacao | integer | Internal programming code |
| dtIncl | datetime | Date of change |
| nrHorsePlate | string | Horse plate number |