Skip to main content

DestinatarioProgramacao

DestinatarioProgramacao

FieldTypeRequired?Description
cdProgramacaointYesCode of the program to which the recipient is linked.
cdProgramacaoDestinatarioIntYesCode of the recipient of the schedule.
cdTipoOperacaoProgramacaostringNoProgramming operation type code, returned by the sgrListaTipoOperacaoProgramacao method.
nrCGCCPFLocalDescargastringNo*Unloading location. * This field will be mandatory according to the customer's configuration in the [Require CNPJ of delivery locations] field.
dsCliDestinostringNoName of schedule recipient.
cdCidDestinationstringNoDestination city code, returned by the sgrListCities method.
dtPrevArrivalintegerYesExpected date of arrival at destination.
cdProductDestinationstringNo*Product to be delivered. * This field will be mandatory according to the customer's configuration in the [Require CNPJ of delivery locations] field.
vlProductDestinatariostringNo*Value of product to be delivered. * This field will be mandatory according to the customer's configuration in the [Require CNPJ of delivery locations] field.
nrControlProgramming[1 to 10]stringNoField for free use by the client.
cdOpAlterIntNoCode of the operator responsible for the last change.
cdCliIntNoCustomer code.
dtAlterdatetimeNoDate of last change.
vlItemdecimalNoValue of the item to be transported.
flExchangeNoteintNoThis field indicates whether the document allows the exchange of invoices (1-Yes, 2-No).
dtPrevDeparturedatetimeNoExpected date/time for the end of passage at the unloading point. If this field is not entered, it will be calculated by the system: when the [Expected time of passage] field is filled in the scheduling parameters, this field receives the information from the [Expected time of passage] field plus the number of hours from the [Expected time of passage] field. Otherwise, the departure forecast will be the end of the current day (current date + 23:59).
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.