Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

DeliveryInfo

Informações
titleCampos de retorno
Pivot Table
id1581521954499_556941873


Abaixo sera apresentado os campos existentes no método e informações de uso.


DtoOrder

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixo
CompanyIdString(50)SimNumero da companhia/grupo da loja. 
No LIVE é o código da Master

"CompanyId""220000002"


BranchId

String(50)SimNumero da Unidade de negócio(Loja) que está fazendo o Pedido. No LIVE é o número de série da loja.

"BranchId""9017986"


CustomerOrderIdString(64)SimNumero do pedido no sistema que está chamando

"CustomerOrderId":"v82908980bot-01"


RegisterDateDateTimeSimData de Inclusão do Pedido

"RegisterDate":"2019-05-27T00:00:00"


OrderIdString(64)SimNumero do Pedido

"OrderId":"v82908980bot-01"


RegisterHourString(10)SimHora de Inclusão do Pedido

"RegisterHour":"19:05:44"


dhinideliveryDateTimeSimData Inicial de Entrega

"dhinidelivery""2020-08-04T21:19:55.801Z"


dhfindeliveryDateTimeSimData Final de Entrega

"dhfindelivery""2020-08-04T21:19:55.801Z"


FreightTypeIntegerSim

Tipo de Frete :
1 - CIF 

2 - FOB 

3 - SFT

"FreightType""1"


FreightValueDecimalSimValor do Frete

"FreightValue"0


FinalityIntegerSim

Finalidade :
1 - Contribuinte ICMS (Indústria/Comércio) 

2 - Não-contribuinte ICMS

"Finality""1"


InsuranceValueDecimalSimValor do Seguro (Conta e Ordem)

"InsuranceValue"0


ExpenseValueDecimalSimValor de Despesas Acessórias

"ExpenseValue"0


SalesChannelString(128)SimCanal da operação do Pedido.
Para o LIVE atualmente é valor fixo "Omni".

"SalesChannel":"Omni"

"SalesChannel":" Omni"
SalesChannelInternalIdString(128)Sim

Canal da operação do Pedido.

Para o LIVE atualmente é valor fixo "Omni".

"SalesChannelInternalId""OMNI"

"SalesChannelInternalId""OMNI"

SegmentString(50)SimDescrição da Modalidade

"Segment"""

"Segment"""

GiftBitSim

Identifica se o pedido é para presente

1 - Sim

0 - Não

"Gift"1

"Gift"1







StatusIntegerSim

Status do Pedido :

No Processo tradicional o status deve ser enviado com valor "1". Mas caso o sistema externo fará também o processo de separação, poderá enviar ao LIVE com o Status "90".

Em Aberto = 1,
Bloqueado = 2,
Liberado = 3,
Liberado Financeiro = 4,
Liberado Financeiro Comercial = 5,
Suspenso = 6,
Cancelado = 7,
Pedido Recebido = 90,
Confirmado Loja = 91,
Faturado = 92,
Em Faturamento = 93,
Em Separação = 94,
Pedido Devolvido = 100

"Status":90


dhinideliveryDateTimeNãoData de Inicio de Entrega

"dhinidelivery""2020-03-27T21:19:55.801Z"


dhfindeliveryDateTimeNãoData de Fim de Entrega

"dhfindelivery""2020-03-27T21:19:55.801Z"


CustomerCodeString(64)SimIdentificação do Cliente, usado para informar o CPF.

"CustomerCode":"20103464832"


CustomerEmailString(50)SimEmail do Cliente

"CustomerEmail""123456789@email.com"


CustomerLoyalityBooleanSim

Identificação de venda para cliente fidelidade :

true : sim

false : não

"CustomerLoyalty"false


CustomerTelephoneString(15)SimTelefone do Cliente

"CustomerTelephone""123456789"


CustomerGovInfoObjetoSimInformações Governamentais do Cliente

  "CustomerGovInfo": {
    "Id": [
      {}
    ],
    "scope""Federal",
    "name""Cliente ABC",
    "issueOn""2019-01-24T21:19:55.802Z",
    "expiresOn""2019-01-24T21:19:55.802Z"
  }


DeliveryCustomerCodeString(15)SimCodigo do Cliente cliente que fará a retirada

"DeliveryCustomerCode""98765432109"


DeliveryCustomerGovernmentalInformationObjetoSimInformações Governamentais do Cliente que fará a retirada

  "DeliveryCustomerGovernmentalInformation": {
    "Id": [
      {}
    ],
    "scope""Federal",
    "name""Cliente ABC Retirada",
    "issueOn""2019-01-24T21:19:55.802Z",
    "expiresOn""2019-01-24T21:19:55.802Z"
  }


DeliveryInfoObjetoSimDados de Entrega

"DeliveryInfo": {
  "DeliveryTelephone""(011)123456789",
  "BillingLocationGovernmentalInfo""123456789-01",
  "DeliveryAddress""Endereço de Entrega do Ronaldo Nova TAG Joaquim Barboza da Silva costa Larga Frederico Ambrozio",
  "DeliveryNumber"1300,
  "DeliveryNeighborhood""BAIRRO da TOCA",
  "DeliveryComplement""TOCA 10",
  "DeliveryCep""132000-123",
  "DeliveryCity""JUNDIAÍ City",
  "DeliveryState""SP",
  "DeliveryCountry""BRASIL"
}


FreightInfoObjetoSimDados do Frete

"FreightInfo": {
  "CarrierGovernmentalInfo""123456789-01",
  "CarrierCode""2424",
  "CarrierName""NOME DO ENTREGADOR",
  "FreightType"1,
  "FreightValue"10.0
}


TypeDeliveryString(100)SimTipo de Entrega/Retirada

"TypeDelivery""Retira Loja"


OrderItemAmountDecimalNãoValor total liquido dos itens do pedido

"OrderItemAmount":10.90


TotalPercentageOfOrderDiscountDecimalSimPercentual de desconto total do pedido

"TotalPercentageOfOrderDiscount"0


OrderPaymentsLista de ObjetosSimFormas de Pagamento do Pedido

"OrderPayments": [
      {
        "PaymentTermCode""33",
        "DescConditionpay""Cartão - Crédito",
        "Portion""3",
        "PaymentAmount""600.00",
        "NSU""12345678901234567890",
        "Authorization""98765432109876543210",
        "FlagIdentifier""BANDEIRA",
        "BinIdentifier""CARTÃO",
        "NetworkIdentifier""CIELO"
      },
      {
        "PaymentTermCode""44",
        "DescConditionpay""Cartão Débito",
        "Portion""1",
        "PaymentAmount""125.00",
        "NSU""123456789Z123456789X",
        "Authorization""Z#W23456789Z123456789X",
        "FlagIdentifier""IDENTIFICADOR",
        "BinIdentifier""BINDOCARTAO",
        "NetworkIdentifier""MASTERCARD"
      }
  ]


SalesOrderItensObjetoSimA lista dos Itens do Pedido

"SalesOrderItens":{
      "Item":[
         {
            "CompanyId":"220000002",
            "BranchId":"9017986",
            "OrderId":0,
            "OrderItem":"1",
            "typecodprod":0,
            "ItemCode":"72056",
            "Quantity":1.0,
            "typepacking":0,
            "UnityPrice":10.9,
            "netunitaryprice":10.9,
            "TotalPrice":10.9
         }
      ]
   }


SUMMARYObjetoSim

OrderPayment

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixo
PaymentTermCodeIntegerSimCodigo da Forma de Pagamento

"PaymentTermCode""33"

DescConditionpayString(50)SimDescrição da Forma de Pagamento

"DescConditionpay""Cartão - Crédito"

PortionIntegerSimNúmero total de parcelas

"Portion""3"

PaymentAmountDecimalSimValor Total do Pagamento

"PaymentAmount""600.00"

NSUString(50)SimNSU da transação feita no TEF ou Similar

"NSU""12345678901234567890"

Sumário de totalização do Pedido

  "SUMMARY": {
    "ordertotalnetamount"1428.36,
    "valtotipimerchan"0,
    "discountamount"8.36,
    "valtottaxes"0,
    "valtotdesccomm"0,
    "valtotaacesscost"0,
    "valtotacessnottaxes"0,
    "ordertotalamount"1420.00,
    "valtotbonus"0,
    "numtotpacking"0,
    "OTHER""string"  }


OrderPayment

AuthorizationString(50)SimNúmero da identificação da transação

"Authorization""98765432109876543210"

FlagIdentifierString(50)SimBin da bandeira usada na transação

"FlagIdentifier""BANDEIRA"

BinIdentifierString(50)SimBin da bandeira usada na transação

"BinIdentifier""CARTÃO"

NetworkIdentifierString(50)SimIndetificador da Rede usada

"NetworkIdentifier""CIELO"

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixo
DeliveryTelephone
PaymentTermCodeInteger
String(15)
Sim
Telefone
Codigo da Forma de
Entrega
Pagamento

"

DeliveryTelephone

PaymentTermCode""

(011)123456789

33"

BillingLocationGovernmentalInfo

DescConditionpayString(
18
50)Sim
Informação Governamental de Entrega
Descrição da Forma de Pagamento

"

BillingLocationGovernmentalInfo

DescConditionpay""

123456789

Cartão -

01

 Crédito"

DeliveryAddressString(200)

PortionIntegerSim
Endereço
Número total de
Entrega
parcelas

"

DeliveryAddress

Portion""

Endereço de Entrega do Ronaldo Nova TAG Joaquim Barboza da Silva costa Larga Frederico Ambrozio

3"

DeliveryNumber

PaymentAmountDecimal
String(30)
Sim
Número do Endereço de Entrega
Valor Total do Pagamento

"

DeliveryNumber

PaymentAmount"

1300DeliveryNeighborhood

"600.00"


NSUString(
70
50)Sim
Bairro de Entrega
NSU da transação feita no TEF ou Similar

"

DeliveryNeighborhood

NSU""

BAIRRO da TOCA

12345678901234567890"

DeliveryComplement

AuthorizationString(
80
50)Sim
Complemento de Entrega
Número da identificação da transação

"

DeliveryComplement

Authorization""

TOCA 10

98765432109876543210"

DeliveryCep

FlagIdentifierString(
10
50)Sim
Cep de Entrega
Bin da bandeira usada na transação

"

DeliveryCep

FlagIdentifier""

132000-123

BANDEIRA"

DeliveryCity

BinIdentifierString(50)Sim
Cidade de Entrega
Bin da bandeira usada na transação

"

DeliveryCity

BinIdentifier""

JUNDIAÍ CityDeliveryCountry

CARTÃO"

DeliveryStateString(4)SimEstado de Entrega

"DeliveryState""SP"


NetworkIdentifier
String(50)Sim
País de Entrega
Indetificador da Rede usada

"

DeliveryCountry

NetworkIdentifier""

BRASIL

CIELO"


FreightInfoDeliveryInfo

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixo
CarrierGovernmentalInfo
DeliveryTelephoneString(
30
15)Sim
Informação Governamental do Entregador
Telefone de Entrega

"

CarrierGovernmentalInfo

DeliveryTelephone""(011)123456789

-01

"

CarrierCode

BillingLocationGovernmentalInfoString(
50
18)Sim
Código do Entregador
Informação Governamental de Entrega

"

CarrierCode

BillingLocationGovernmentalInfo""

2424

123456789-01"

CarrierName

DeliveryAddressString(200)Sim
Nome do Entregador
Endereço de Entrega

"

CarrierName

DeliveryAddress""

NOME DO ENTREGADOR

Endereço de Entrega do Ronaldo Nova TAG Joaquim Barboza da Silva costa Larga Frederico Ambrozio"

FreightTypeInteger

DeliveryNumberString(30)Sim

Tipo de Frete :
1 - CIF 

2 - FOB 

3 - SFT

Número do Endereço de Entrega

"DeliveryNumber

"FreightType

"

1

1300

FreightValueDecimal

DeliveryNeighborhoodString(70)Sim
Valor do Frete
Bairro de Entrega

"

FreightValue

DeliveryNeighborhood"

10.0

SalesOrderItens : Item

"BAIRRO da TOCA"


DeliveryComplementString(80)SimComplemento de Entrega

"DeliveryComplement""TOCA 10"


DeliveryCepString(10)SimCep de Entrega

"DeliveryCep""132000-123"


DeliveryCity

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixoCompanyIdString(50)SimNumero da Master do Live

"CompanyId""220000002"

BranchId
String(50)Sim
Numero da Unidade de negócio(Loja) que está fazendo o Pedido
Cidade de Entrega

"

BranchId

DeliveryCity""

9017986

JUNDIAÍ City"

OrderId

DeliveryStateString(4)Sim
Numero do Pedido
Estado de Entrega

"

OrderId

DeliveryState": "

v82908980bot-01

SP"

OrderItem

DeliveryCountryString(
64
50)Sim
Numero sequencial da lista de Itens
País de Entrega

"

OrderItem

DeliveryCountry": "

1

BRASIL"


FreightInfo

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixo
CarrierGovernmentalInfo
ItemCode
String(
64
30)Sim
Código
Informação Governamental do
Produto
Entregador

"

ItemCode

CarrierGovernmentalInfo": "

72056

123456789-01"

ItemDescription

CarrierCodeString(
1000
50)Sim
Descrição
Código do
Produto
Entregador

"

ItemDescription

CarrierCode""

Produto Teste Order - 4517186557618

2424"

Quantity

CarrierNameString(200)
Decimal
Sim
Quantidade
Nome do Entregador

"

Quantity

CarrierName":

1.0UnityPrice

 "NOME DO ENTREGADOR"


FreightTypeInteger
Decimal
Sim
Preço Unitário

"UnityPrice":10.9

NetunitarypriceDecimalSimPreçoUnitario Liquido

"netunitaryprice"0

TotalPrice

Tipo de Frete :
1 - CIF 

2 - FOB 

3 - SFT

"FreightType"1


FreightValueDecimalSimValor
Total
do
Item
Frete

"

TotalPrice

FreightValue": 10.0


SalesOrderItens : Item

Decimal"DiscountPercentage0ValnetlineitemDecimalGets or Sets Valnetlineitemvalnetlineitem 0

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixo
CompanyId9TaxOpCodeString(6450)SimCodigo da Fiscal da Operacao - CFOPNumero da Master do Live

"

TaxOpCode

CompanyId": "

0

220000002"

DiscountPercentage


BranchId

String(50)SimPercentual de desconto do itemNumero da Unidade de negócio(Loja) que está fazendo o Pedido

"BranchId"

"9017986"


OrderIdStringSimNumero do Pedido

"

OrderId":"v82908980bot-01"


OrderItem String(64)SimNumero sequencial da lista de Itens

"OrderItem":"1"


ItemCode String(64)SimCódigo do Produto

"ItemCode":"72056"


ItemDescriptionFreightValueDecimalSimValor do unitário do frete

"FreightValue"0

InsuranceValueDecimalSimValor do Seguro Unitário

"InsuranceValue"0

ObservationString(1000)SimObservações Item Descrição do PedidoProduto

"

Observation

ItemDescription": "Produto Teste Order - 4517186557618"


DiscountTotalValueQuantity DecimalSimValor desconto totalQuantidade

"DiscountTotalValueQuantity": 1.0


DeliveryDateUnityPrice DateTimeDecimalSimData de Entrega ou Previsão de entrega do itemPreço Unitário

"DeliveryDateUnityPrice": "2019-01-24T21:19:55.807Z"10.9


NetunitarypriceDecimalSimPreçoUnitario Liquido

"netunitaryprice"0


TotalPriceDecimalSimValor Total do Item

"TotalPrice":10.9


TaxOpCodeString(64)SimCodigo da Fiscal da Operacao - CFOP"TaxOpCode":"0"

DiscountPercentage

DecimalSimPercentual de desconto do item

"DiscountPercentage"0


ValnetlineitemDecimalSimGets or Sets Valnetlineitem

"valnetlineitem"0


FreightValueDecimalSimValor do unitário do frete

"FreightValue"0


InsuranceValueDecimalSimValor do Seguro Unitário

"InsuranceValue"0


ObservationString(1000)SimObservações Item do Pedido"Observation":""
DiscountTotalValueDecimalSimValor desconto total

"DiscountTotalValue"0


DeliveryDateDateTimeSimData de Entrega ou Previsão de entrega do item

"DeliveryDate""2019-01-24T21:19:55.807Z"



SUMMARY

Campo

Tipo

ObrigatórioInformaçõesExemplo de preenchimentoValor fixo
OrdertotalnetamountDecimalSimTotal Líquido do Pedido

"ordertotalnetamount"1428.36


DiscountamountDecimalSimTotal de Desconto

"discountamount"8.36


ValtottaxesDecimalSimTotal de Impostos

"valtottaxes"0


OrdertotalamountDecimalSimTotal do pedido

"ordertotalamount"1420.00


Informações
titleExemplo de Chamada do Método
Bloco de código
languagejs
titleChamada: Json
{
  "CompanyId": "220000287",
  "CompanyInternalId": "220000287",
  "BranchId": "081716508",
  "OrderPurpose": "1",
  "CustomerOrderId": "04082020Status_90E",
  "RegisterDate": "2020-08-04T21:19:55.801Z",
  "OrderId": "04082020Status_90E",
  "RegisterHour": "14",
  "dhinidelivery": "2020-08-04T21:19:55.801Z",
  "dhfindelivery": "2020-08-04T21:19:55.801Z",
  "RequestDate": "2020-08-04T21:19:55.801Z",
  "FreightType": "1",
  "FreightValue": 0,
  "NetWeight": 0,
  "GrossWeight": 0,
  "TareWeight": 0,
  "CubicVolume": 0,
  "NumberOfVolumes": 0,
  "Finality": "1",
  "InsuranceValue": 0,
  "ExpenseValue": 0,
  "AdditionValue": 0,
  "SalesChannel": "",
  "SalesChannelInternalId": "OMNI",
  "Segment": "",
  "Gift": 1,
  "Status": 90,
  "VendorGovInfo": {
    "Id": [
      {}
    ],
    "scope": "Federal",
    "issueOn": "2019-01-24T21:19:55.802Z",
    "expiresOn": "2019-01-24T21:19:55.802Z"
  },
  "CustomerCode": "34470084824",
  "CustomerEmail": "[email protected]",
  "CustomerLoyalty": false,
  "CustomerTelephone": "123456789",
  "CustomerGovInfo": {
    "Id": [
      {}
    ],
    "scope": "Federal",
    "name": "Cliente ABC",
    "issueOn": "2019-01-24T21:19:55.802Z",
    "expiresOn": "2019-01-24T21:19:55.802Z"
  },
  "DeliveryCustomerCode": "98765432109",
  "DeliveryCustomerGovernmentalInformation": {
    "Id": [
      {}
    ],
    "scope": "Federal",
    "name": "Cliente ABC Retirada",
    "issueOn": "2019-01-24T21:19:55.802Z",
    "expiresOn": "2019-01-24T21:19:55.802Z"
  },

"DeliveryInfo": {
  "DeliveryTelephone": "(011)123456789",
  "BillingLocationGovernmentalInfo": "123456789-01",
  "DeliveryAddress": "Endereço de Entrega do Ronaldo Nova TAG Joaquim Barboza da Silva costa Larga Frederico Ambrozio",
  "DeliveryNumber": 1300,
  "DeliveryNeighborhood": "BAIRRO da TOCA",
  "DeliveryComplement": "TOCA 10",
  "DeliveryCep": "132000-123",
  "DeliveryCity": "JUNDIAÍ City",
  "DeliveryState": "SP",
  "DeliveryCountry": "BRASIL"
},
"FreightInfo": {
  "CarrierGovernmentalInfo": "123456789-01",
  "CarrierCode": "2424",
  "CarrierName": "NOME DO ENTREGADOR",
  "FreightType": 1,
  "FreightValue": 10.0
},
  "TypeDelivery": "Retira Loja",
  "BillingLocationGovInfo": {
    "Id": [
      {}
    ],
    "scope": "Federal",
    "issueOn": "2019-01-24T21:19:55.802Z",
    "expiresOn": "2019-01-24T21:19:55.802Z"
  },
  "CarrierGovInfo": {
    "Id": [
      {}
    ],
    "scope": "Federal",
    "issueOn": "2019-01-24T21:19:55.802Z",
    "expiresOn": "2019-01-24T21:19:55.802Z"
  },
  "OrderItemAmount": 0,
  "TotalPercentageOfOrderDiscount": 0,
  "IsDiscountTableUsedInThisOrder": true,
  "ValuePackaging": 0,
  "priority": 0,
  "Discounts": {
    "Discount": [
      {}
    ]
  },
  "FinancialDiscount": 0,
  "TotalDiscount": 0,
  "OrderPayments": [
      {
        "PaymentTermCode": "33",
        "DescConditionpay": "Cartão - Crédito",
        "Portion": "3",
        "PaymentAmount": "600.00",
        "NSU": "12345678901234567890",
        "Authorization": "98765432109876543210",
        "FlagIdentifier": "BANDEIRA",
        "BinIdentifier": "CARTÃO",
        "NetworkIdentifier": "CIELO"
      },
      {
        "PaymentTermCode": "44",
        "DescConditionpay": "Cartão Débito",
        "Portion": "1",
        "PaymentAmount": "125.00",
        "NSU": "123456789Z123456789X",
        "Authorization": "Z#W23456789Z123456789X",
        "FlagIdentifier": "IDENTIFICADOR",
        "BinIdentifier": "BINDOCARTAO",
        "NetworkIdentifier": "MASTERCARD"
      }
  ],
  "PAYMENTPLAN": [
    {
      "datereference": "2019-01-24T21:19:55.804Z",
      "periodnum": 0,
      "termduedate": "2019-01-24T21:19:55.804Z",
      "termamount": 0,
      "termpaymentpercentage": 0
    }
  ],
  "LISTOFTAXESDOCUMENT": [
    {
      "VALUESANDTAXES": [
        {
          "percdescandtaxes": 0,
          "valuedescandtaxes": 0
        }
      ]
    }
  ],
  "SalesOrderItens": {
    "Item": [
      {
        "CompanyId": "220000287",
        "BranchId": "9010982",
        "OrderId": "1502",
        "OrderItem": "1",
        "numitemrequest": 0,
        "typecodprod": "EN",
        "ItemCode": "4517186557618",
        "ItemDescription": "Produto Teste Order - 4517186557618",
        "numunitconsembped": 0,
        "Quantity": 5,
        "amountsubsid": 0,
        "quantexchange": 0,
        "typepacking": "AE",
        "numpacking": 0,
        "UnityPrice": 79.36,
        "netunitaryprice": 0,
        "baseunitprice": 0,
        "TotalPrice": 396.80,
        "DiscountPercentage": 0,
        "valnetlineitem": 0,
        "unitvaltradedisc": 0,
        "perccommdiscount": 0,
        "bonusdiscountvalue": 0,
        "bonuspercentage": 0,
        "valipi": 0,
        "industrializedproducttaxpercentage": 0,
        "servicesandproductscirculationtaxpercentage": 0,
        "precenticmssubst": 0,
        "unitvalacesscost": 0,
        "unitvalnotacesscost": 0,
        "ItemDiscounts": {
          "ItemDiscount": [
            {}
          ]
        },
        "FreightValue": 0,
        "InsuranceValue": 0,
        "UnitWeight": 0,
        "ItemMessages": {
          "ItemMessage": [
            {}
          ]
        },
        "convumprovider": 0,
        "ListOfReturnedInputDocuments": [
          [
            {
              "InputDocumentQuantity": 0
            }
          ]
        ],
        "LISTOFTAXESITEM": [
          [
            {
              "VALUESANDTAXES": [
                {
                  "percdescandtaxes": 0,
                  "valuedescandtaxes": 0
                }
              ]
            }
          ]
        ],
        "PriceOfPriceTable": 0,
        "Event": "delete",
        "ListOfApportionOrderItem": [
          {
            "Value": 0,
            "Percentual": 0,
            "Quantity": 0,
            "Event": "delete"
          }
        ],
        "RetentionValue": 0,
        "DeductionValue": 0,
        "DirectDeductionValue": 0,
        "AmountBilled": 0,
        "AmountRequested": 0,
        "AmountAttended": 0,
        "DiscountTotalValue": 0,
        "DeliveryDate": "2019-01-24T21:19:55.807Z"        
      }
    ],
    "Item": [
      {
        "CompanyId": "220000287",
        "BranchId": "081716508",
        "OrderId": "1502",
        "OrderItem": "2",
        "numitemrequest": 0,
        "typecodprod": "EN",
        "ItemCode": "4500176548512",
        "ItemDescription": "Produto Teste Order - 4500176548512",
        "numunitconsembped": 0,
        "Quantity": 10,
        "amountsubsid": 0,
        "quantexchange": 0,
        "typepacking": "AE",
        "numpacking": 0,
        "UnityPrice": 79.36,
        "netunitaryprice": 0,
        "baseunitprice": 0,
        "TotalPrice": 793.60,
        "DiscountPercentage": 0,
        "valnetlineitem": 0,
        "unitvaltradedisc": 0,
        "perccommdiscount": 0,
        "bonusdiscountvalue": 0,
        "bonuspercentage": 0,
        "valipi": 0,
        "industrializedproducttaxpercentage": 0,
        "servicesandproductscirculationtaxpercentage": 0,
        "precenticmssubst": 0,
        "unitvalacesscost": 0,
        "unitvalnotacesscost": 0,
        "ItemDiscounts": {
          "ItemDiscount": [
            {}
          ]
        },
        "FreightValue": 0,
        "InsuranceValue": 0,
        "UnitWeight": 0,
        "ItemMessages": {
          "ItemMessage": [
            {}
          ]
        },
        "convumprovider": 0,
        "ListOfReturnedInputDocuments": [
          [
            {
              "InputDocumentQuantity": 0
            }
          ]
        ],
        "LISTOFTAXESITEM": [
          [
            {
              "VALUESANDTAXES": [
                {
                  "percdescandtaxes": 0,
                  "valuedescandtaxes": 0
                }
              ]
            }
          ]
        ],
        "PriceOfPriceTable": 0,
        "Event": "delete",
        "ListOfApportionOrderItem": [
          {
            "Value": 0,
            "Percentual": 0,
            "Quantity": 0,
            "Event": "delete"
          }
        ],
        "RetentionValue": 0,
        "DeductionValue": 0,
        "DirectDeductionValue": 0,
        "AmountBilled": 0,
        "AmountRequested": 0,
        "AmountAttended": 0,
        "DiscountTotalValue": 0,
        "DeliveryDate": "2019-01-24T21:19:55.807Z"
      }
    ],
    "Item": [
      {
        "CompanyId": "220000287",
        "BranchId": "081716508",
        "OrderId": "1502",
        "OrderItem": "3",
        "numitemrequest": 0,
        "typecodprod": "EN",
        "ItemCode": "4517145084728",
        "ItemDescription": "Produto Teste Order 4517145084728",
        "numunitconsembped": 0,
        "Quantity": 1,
        "amountsubsid": 0,
        "quantexchange": 0,
        "typepacking": "AE",
        "numpacking": 0,
        "UnityPrice": 79.36,
        "netunitaryprice": 0,
        "baseunitprice": 0,
        "TotalPrice": 79.36,
        "DiscountPercentage": 0,
        "valnetlineitem": 0,
        "unitvaltradedisc": 0,
        "perccommdiscount": 0,
        "bonusdiscountvalue": 0,
        "bonuspercentage": 0,
        "valipi": 0,
        "industrializedproducttaxpercentage": 0,
        "servicesandproductscirculationtaxpercentage": 0,
        "precenticmssubst": 0,
        "unitvalacesscost": 0,
        "unitvalnotacesscost": 0,
        "ItemDiscounts": {
          "ItemDiscount": [
            {}
          ]
        },
        "FreightValue": 0,
        "InsuranceValue": 0,
        "UnitWeight": 0,
        "ItemMessages": {
          "ItemMessage": [
            {}
          ]
        },
        "convumprovider": 0,
        "ListOfReturnedInputDocuments": [
          [
            {
              "InputDocumentQuantity": 0
            }
          ]
        ],
        "LISTOFTAXESITEM": [
          [
            {
              "VALUESANDTAXES": [
                {
                  "percdescandtaxes": 0,
                  "valuedescandtaxes": 0
                }
              ]
            }
          ]
        ],
        "PriceOfPriceTable": 0,
        "Event": "delete",
        "ListOfApportionOrderItem": [
          {
            "Value": 0,
            "Percentual": 0,
            "Quantity": 0,
            "Event": "delete"
          }
        ],
        "RetentionValue": 0,
        "DeductionValue": 0,
        "DirectDeductionValue": 0,
        "AmountBilled": 0,
        "AmountRequested": 0,
        "AmountAttended": 0,
        "DiscountTotalValue": 3.60,
        "DeliveryDate": "2019-01-24T21:19:55.807Z"
      }
    ],
    "Item": [
      {
        "CompanyId": "220000002",
        "BranchId": "081716508",
        "OrderId": "1502",
        "OrderItem": "4",
        "numitemrequest": 0,
        "typecodprod": "EN",
        "ItemCode": "4507616518210",
        "ItemDescription": "Produto Teste Order - 4507616518210",
        "numunitconsembped": 0,
        "Quantity": 2,
        "amountsubsid": 0,
        "quantexchange": 0,
        "typepacking": "AE",
        "numpacking": 0,
        "UnityPrice": 79.30,
        "netunitaryprice": 0,
        "baseunitprice": 0,
        "TotalPrice": 158.60,
        "DiscountPercentage": 0,
        "valnetlineitem": 0,
        "unitvaltradedisc": 0,
        "perccommdiscount": 0,
        "bonusdiscountvalue": 0,
        "bonuspercentage": 0,
        "valipi": 0,
        "industrializedproducttaxpercentage": 0,
        "servicesandproductscirculationtaxpercentage": 0,
        "precenticmssubst": 0,
        "unitvalacesscost": 0,
        "unitvalnotacesscost": 0,
        "ItemDiscounts": {
          "ItemDiscount": [
            {}
          ]
        },
        "FreightValue": 0,
        "InsuranceValue": 0,
        "UnitWeight": 0,
        "ItemMessages": {
          "ItemMessage": [
            {}
          ]
        },
        "convumprovider": 0,
        "ListOfReturnedInputDocuments": [
          [
            {
              "InputDocumentQuantity": 0
            }
          ]
        ],
        "LISTOFTAXESITEM": [
          [
            {
              "VALUESANDTAXES": [
                {
                  "percdescandtaxes": 0,
                  "valuedescandtaxes": 0
                }
              ]
            }
          ]
        ],
        "PriceOfPriceTable": 0,
        "Event": "delete",
        "ListOfApportionOrderItem": [
          {
            "Value": 0,
            "Percentual": 0,
            "Quantity": 0,
            "Event": "delete"
          }
        ],
        "RetentionValue": 0,
        "DeductionValue": 0,
        "DirectDeductionValue": 0,
        "AmountBilled": 0,
        "AmountRequested": 0,
        "AmountAttended": 0,
        "DiscountTotalValue": 
Informações
titleExemplo de Chamada do Método
Bloco de código
languagejs
titleChamada: Json
{
   "CompanyId":"220000002",
   "BranchId":"9017986",
   "CustomerOrderId":"v82908980bot-01",
   "RegisterDate":"2019-05-27T00:00:00",
   "OrderId":"v82908980bot-01",
   "RegisterHour":"19:05:44",
   "dhinidelivery":"0001-01-01T00:00:00",
   "dhfindelivery":"0001-01-01T00:00:00",
   "SalesChannel":"2",
   "Status":90,
   "CustomerCode":"20103464832",
   "OrderItemAmount":10.90,
   "SalesOrderItens":{
      "Item":[
         {
            "CompanyId":"220000002",
            "BranchId":"9017986",
            "OrderId":0,
            "OrderItemDeliveryDate":"1", "2019-01-24T21:19:55.807Z"
      }
    ]
  "typecodprod":0},
  "SUMMARY": {
    "ordertotalnetamount": 1428.36,
    "ItemCodevaltotipimerchan":"72056" 0,
        "discountamount": 8.36,
    "Quantityvaltottaxes":1. 0,
        "valtotdesccomm": 0,
    "typepackingvaltotaacesscost": 0,
      "valtotacessnottaxes": 0,
      "UnityPriceordertotalamount":10 1420.900,
            "netunitarypricevaltotbonus":10.9 0,
    "numtotpacking": 0,   },
    "TotalPriceListOfCreditDocument":10.9 [
    {
     }
 "Value": 0
    ]}
   }
]}
Bloco de código
languagejs
titleRetorno:
{
    "returnContent": {
        "listOfInternalId": [
            [
                {
                    "name": "Order",
                    "origin": "220000002|9017986|v82908980bot-01",
                    "destination": "305"
                }
            ]
        ]
    }
}