Skip to main content

sgrTrocarCavaloAE

Changing the horse of a Boarding Authorization.

SoapAction

PARAMETERS

FieldTypeReq.Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteopentechintegerYesCustomer code, returned by the sgrListCompaniesPASUsers method.
cdviagemintegerYesShipment authorization number.
nrplacacavaloatualstringYesCurrent vehicle license plate.
nrplacacavalonovostringYesNew horse license plate.
cdalvoopentechIntegerNoOpentech 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:

FieldTypeDescription
CDINSTRUCTIONintegerCode of the exchange request registered with Opentech

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

ErrorDescription
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.