DestinatarioProgramacao
DestinatarioProgramacao
Field | Type | Required? | Description |
---|---|---|---|
cdProgramacao | int | Yes | Code of the program to which the recipient is linked. |
cdProgramacaoDestinatario | Int | Yes | Code of the recipient of the schedule. |
cdTipoOperacaoProgramacao | string | No | Programming operation type code, returned by the sgrListaTipoOperacaoProgramacao method. |
nrCGCCPFLocalDescarga | string | No* | Unloading location. * This field will be mandatory according to the customer's configuration in the [Require CNPJ of delivery locations] field. |
dsCliDestino | string | No | Name of schedule recipient. |
cdCidDestination | string | No | Destination city code, returned by the sgrListCities method. |
dtPrevArrival | integer | Yes | Expected date of arrival at destination. |
cdProductDestination | string | No* | Product to be delivered. * This field will be mandatory according to the customer's configuration in the [Require CNPJ of delivery locations] field. |
vlProductDestinatario | string | No* | 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] | string | No | Field for free use by the client. |
cdOpAlter | Int | No | Code of the operator responsible for the last change. |
cdCli | Int | No | Customer code. |
dtAlter | datetime | No | Date of last change. |
vlItem | decimal | No | Value of the item to be transported. |
flExchangeNote | int | No | This field indicates whether the document allows the exchange of invoices (1-Yes, 2-No). |
dtPrevDeparture | datetime | No | Expected 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). |
cdBodyType | int | No | Body type code. This code is returned by the sgrListBodyTypes method. |
cdTranspGroup | int | No | Carrier group code, returned by the sgrListCarrierGroup method. |
cdCli | Int | No | Customer code. |
cdOpAlter | Int | No | Code of the operator responsible for the last change. |
dtAlter | datetime | No | Date of last change. |
vlMinimumCapacity | double | No* | Vehicle capacity. *This field will be mandatory according to the configuration defined in the [Require Vehicle Type] field in the programming parameters. |
vlCubageMinimum | double | No* | Minimum vehicle cubage. *This field will be mandatory according to the configuration defined in the [Require Vehicle Type] field, in the programming parameters. |
nrCGCCPFEmbarcador | string | No | CPF or CNPJ registration number of the cargo shipper. |
nrControlCargo | string | No | Field for free use by the client. |
dsControlProgramming[1 to 10] | string | No Field for free use by the client. This field may be mandatory depending on what has been configured for the client. | |
cdShipper | Int | No | Programming shipper code, returned by the sgrListaEmpresasPASUsuario method. |
cdTransp | Int | No | Programming carrier code, returned by the sgrListaEmpresasPASUsuario method. |
flExchangeNote | int | No | This field indicates whether the document allows the exchange of invoices (1-Yes, 2-No). |
cdObsClosed | Int | No | Closed observation code. |
vlProd | decimal | No | Product value of the schedule. |
dsObs | String | No | Observations related to the schedule. |
recipients | List | Yes | List of recipients of the schedule. To use this field, you must create an array of type Recipient. You must enter at least one recipient. |
sensortemperature | List | Yes | List 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. |