Pular para o conteúdo principal

Detalha uma simulação de frete

GET 

/carrier/quotation/:idcarrierquotation

Retorna a simulação com todas as linhas por transportadora. Cada linha (CarrierQuotations[]) traz:

  • IDCarrier + SupplierNameCorporateName + CarrierLogoUrl + CarrierModal (modalidade da transportadora).
  • Attended (1=Atende, 0=Não atende, 3=Excluído por regra, 4=Fora da faixa) e AttendedDescription (texto pronto para exibição).
  • Componentes do preço: ShipingValue, GrisValue, AdvaloremValue, TollValue, AccessDifficultyRateValue, DispatchFeeValue, DeliveryDifficultyRateValue, SECCATValue, TollFractionValue, TrafficRestrictionFeeValue, AdministrationFeeValue, CTEFeeValue, SUFRAMAFeeValue, FluvialInsuranceFee, OtherFee, OtherFeeValue, IcmsValue.
  • Totais calculados pelo backend: SubtotalShippingValue (soma dos componentes), TotalShippingValue (subtotal + ICMS), IcmsValuePercent, ShippingShowValue (total + ajustes de regra + PriceRounding).
  • Prazo: DaysTime (transportadora) + CarrierAdditionalBusinessDays (transportadora) + CutDaysTime (1 quando saiu fora do horário de corte) + RuleAdditionalDays (regra) → TotalDaysTime / TotalShowDaysTime.
  • Cubagem: WeightCubed, WeightSelected, CarrierCubageKmM, CarrierCubageFreeWeight.
  • Quando regras de simulação foram aplicadas: CarrierQuotationRuleValueName, CarrierQuotationRuleDaysName, RuleAdditionalValue, RuleAdditionalDays.

Ordenação: Attended DESC (quem atende primeiro), TotalDaysTime ASC (prazo curto primeiro), TotalShippingValue ASC (preço baixo).

Request

Responses

Detalhe da simulação. [] quando o id não existe ou pertence a outra empresa.