Programação
Recipient association class and parameters for including programming.
PARAMETERS:
Field | Type | Required? | Description |
---|---|---|---|
cdProgramacao | int | No* | Programming code. *This parameter is required when the object is called by sgrEditProgramming. |
nrProgramacao | string | Yes | Programming number |
cdProduct | int | No | Product code, returned by the sgrListProducts method. |
vlWeight | double | No | Weight of the load to be transported, in kg or t depending on the unit of measurement configured in [Programming parameters]. |
vlCubage | double | No | Cubage of the cargo to be transported, in m³. |
vlVolume | double | No | Volume of cargo to be transported. |
cdCargoType | int | No | Cargo type code, returned by the sgrListCargoType method. |
cdPackingType | int | No | Cargo packing type code, returned by the sgrListPackingType method. |
nrCGCCPFLocalCarregamento | string | Yes | CPF or CNPJ registration number of the loading location. |
dtPrevIniCarreg | DateTime | Yes | Expected date/time for the start of loading. |
dtPrevEndLoad | DateTime | No | Expected end date/time of loading. |
cdProgrammingType | int | No | Programming type code, returned by the sgrListProgrammingType method. |
ctTipoServico | Int | No | Programming service type code. |
dtConfirmacao | DateTime | No | Date on which it will be confirmed whether the schedule will take place or not. |
nrCGCCPFTransp | string | No | Carrier's CPF or CNPJ registration number. |
cdTipoVeic | int | No | Vehicle type code, returned by the sgrListaTiposVeiculos method. |
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. |