Árvore de páginas

Versões comparadas

Chave

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

...

Ao receber esta requisição o parceiro deve seguir o fluxo que desejar, podendo utilizar outras operações como, por exemplo, Menu de opções, Obter Valor ou Exibir Mensagem. Os fluxos destas opções encontram-se em:

02. Exemplo de aplicação

...

04. Tela no PDV para execução do método



Exemplo JSON:

{
    "Event": "cetAfter",
    "Execution": "cetContinue",
    "ID": "001222010495778",
    "Operation": "cotOpenSale",
    "ParkingTicket": null,
    "Pay": null,
    "Response": "",
    "Sale": {
        "Discount": 0.0000000000000000E+000,
        "DiscountCodes": [
        ],
        "Header": {
            "AccountingDate": "2022-06-20T00:00:00",
            "DateTimeIssue": "2022-06-20T17:00:02",
            "IdDocument": 10495778,
            "IdInvoiceKey": "",
            "IdStore": 1,
            "IdTerminal": 222,
            "IdUser": 2,
            "Identification": [
            ],
            "Status": "sttValid"
        },
        "ID": "001222010495778",
        "Increase": 0.0000000000000000E+000,
        "Items": [
            {
                "BarCode": "255",
                "CaptionPacking": "UN",
                "Description": "CARNE BOVINA kg ENTRECO NOIA SEARA",
                "DiscountPrice": 2.3999999999999999E-001,
                "IdSegment": 3,
                "IncreasePrice": 0.0000000000000000E+000,
                "InternalCode": "258",
                "ItemNumber": 1,
                "OrderNumber": "",
                "PackingQuantity": 1.0000000000000000E+000,
                "PartitionDiscount": [
                    {
                        "DiscountAmount": 1.0000000000000000E+000,
                        "PartnerCode": 30,
                        "Price": 1.2000000000000000E-001,
                        "PromotionCode": 82
                    },
                    {
                        "DiscountAmount": 1.0000000000000000E+000,
                        "PartnerCode": 30,
                        "Price": 1.2000000000000000E-001,
                        "PromotionCode": 28
                    }
                ],
                "PartitionIncrease": [
                ],
                "Quantity": 1.0000000000000000E+000,
                "SellerCode": 0,
                "Status": "sttValid",
                "TotalPrice": 2.2500000000000000E+000,
                "UnitPrice": 2.4900000000000002E+000
            }
        ],
        "Messages": {
            "Customer": [
            ],
            "User": [
            ]
        },
        "PartitionDiscount": [
        ],
        "PartitionIncrease": [
        ],
        "PaymentChange": null,
        "Payments": [
        ],
        "Print": null,
        "SolidaryChange": null,
        "TaxDocument": null,
        "Total": 2.2500000000000000E+000,
        "VouchersPrint": [
        ]
    },
    "Version": 1
}