Skip to main content

Programação

Recipient association class and parameters for including programming.

PARAMETERS:

FieldTypeRequired?Description
cdProgramacaointNo*Programming code. *This parameter is required when the object is called by sgrEditProgramming.
nrProgramacaostringYesProgramming number
cdProductintNoProduct code, returned by the sgrListProducts method.
vlWeightdoubleNoWeight of the load to be transported, in kg or t depending on the unit of measurement configured in [Programming parameters].
vlCubagedoubleNoCubage of the cargo to be transported, in m³.
vlVolumedoubleNoVolume of cargo to be transported.
cdCargoTypeintNoCargo type code, returned by the sgrListCargoType method.
cdPackingTypeintNoCargo packing type code, returned by the sgrListPackingType method.
nrCGCCPFLocalCarregamentostringYesCPF or CNPJ registration number of the loading location.
dtPrevIniCarregDateTimeYesExpected date/time for the start of loading.
dtPrevEndLoadDateTimeNoExpected end date/time of loading.
cdProgrammingTypeintNoProgramming type code, returned by the sgrListProgrammingType method.
ctTipoServicoIntNoProgramming service type code.
dtConfirmacaoDateTimeNoDate on which it will be confirmed whether the schedule will take place or not.
nrCGCCPFTranspstringNoCarrier's CPF or CNPJ registration number.
cdTipoVeicintNoVehicle type code, returned by the sgrListaTiposVeiculos method.
cdBodyTypeintNoBody type code. This code is returned by the sgrListBodyTypes method.
cdTranspGroupintNoCarrier group code, returned by the sgrListCarrierGroup method.
cdCliIntNoCustomer code.
cdOpAlterIntNoCode of the operator responsible for the last change.
dtAlterdatetimeNoDate of last change.
vlMinimumCapacitydoubleNo*Vehicle capacity. *This field will be mandatory according to the configuration defined in the [Require Vehicle Type] field in the programming parameters.
vlCubageMinimumdoubleNo*Minimum vehicle cubage. *This field will be mandatory according to the configuration defined in the [Require Vehicle Type] field, in the programming parameters.
nrCGCCPFEmbarcadorstringNoCPF or CNPJ registration number of the cargo shipper.
nrControlCargostringNoField for free use by the client.
dsControlProgramming[1 to 10]stringNo Field for free use by the client. This field may be mandatory depending on what has been configured for the client.
cdShipperIntNoProgramming shipper code, returned by the sgrListaEmpresasPASUsuario method.
cdTranspIntNoProgramming carrier code, returned by the sgrListaEmpresasPASUsuario method.
flExchangeNoteintNoThis field indicates whether the document allows the exchange of invoices (1-Yes, 2-No).
cdObsClosedIntNoClosed observation code.
vlProddecimalNoProduct value of the schedule.
dsObsStringNoObservations related to the schedule.
recipientsListYesList of recipients of the schedule. To use this field, you must create an array of type Recipient. You must enter at least one recipient.
sensortemperatureListYesList of temperature sensors, if the trips scheduled for the client have temperature control. To use this field, an array of type sgrSensorTemperature must be created. If the schedule does not have a sensor configuration, send an empty list.