sgrTrocarCavaloAE
Changing the horse of a Boarding Authorization.
PARAMETERS
Field | Type | Req. | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
cdclienteopentech | integer | Yes | Customer code, returned by the sgrListCompaniesPASUsers method. |
cdviagem | integer | Yes | Shipment authorization number. |
nrplacacavaloatual | string | Yes | Current vehicle license plate. |
nrplacacavalonovo | string | Yes | New horse license plate. |
cdalvoopentech | Integer | No | Opentech target code, returned by the sgrListaAlvosClienteInstrucao method. This field, when filled with a valid target code, indicates that the exchange will not be made immediately, only when the vehicle reaches the specified target. Send -1 when not using. |
METHOD RETURN:
If the parameters are filled in correctly, the horse is changed and ReturnDataset will display:
Field | Type | Description |
---|---|---|
CDINSTRUCTION | integer | Code of the exchange request registered with Opentech |
ReturnDescription: If there is an error when executing the method, the property will display:
Error | Description |
---|---|
There was an error making the change to the ride horse. | Check. In this case, the method may also return the details listed in Table 6. |