{
  "info": {
    "name": "PES2B Contábil Parser API",
    "description": "Collection oficial dos endpoints da API PES2B Contábil Parser.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://contabil-parser.pes2b.com"
    },
    {
      "key": "apiKey",
      "value": "SUA_CHAVE"
    },
    {
      "key": "codigoDominio",
      "value": "469"
    }
  ],
  "item": [
    {
      "name": "Health",
      "request": {
        "method": "GET",
        "url": {
          "raw": "{{baseUrl}}/health",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "health"
          ]
        }
      }
    },
    {
      "name": "Analyze",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-API-Key",
            "value": "{{apiKey}}"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "file",
              "type": "file",
              "src": ""
            },
            {
              "key": "batch_size",
              "value": "1000",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/v1/analyze",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "analyze"
          ]
        }
      }
    },
    {
      "name": "Diagnose Unbalanced",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-API-Key",
            "value": "{{apiKey}}"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "file",
              "type": "file",
              "src": ""
            },
            {
              "key": "batch_size",
              "value": "1000",
              "type": "text"
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/v1/diagnose-unbalanced",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "diagnose-unbalanced"
          ]
        }
      }
    },
    {
      "name": "Process NORMAL",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-API-Key",
            "value": "{{apiKey}}"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "codigo_dominio",
              "value": "{{codigoDominio}}",
              "type": "text"
            },
            {
              "key": "modo_importacao",
              "value": "NORMAL",
              "type": "text"
            },
            {
              "key": "batch_size",
              "value": "1000",
              "type": "text"
            },
            {
              "key": "file",
              "type": "file",
              "src": ""
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/v1/process",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "process"
          ]
        }
      }
    },
    {
      "name": "Process REIMPORTAR",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "X-API-Key",
            "value": "{{apiKey}}"
          }
        ],
        "body": {
          "mode": "formdata",
          "formdata": [
            {
              "key": "codigo_dominio",
              "value": "{{codigoDominio}}",
              "type": "text"
            },
            {
              "key": "modo_importacao",
              "value": "REIMPORTAR",
              "type": "text"
            },
            {
              "key": "batch_size",
              "value": "1000",
              "type": "text"
            },
            {
              "key": "file",
              "type": "file",
              "src": ""
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/v1/process",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "v1",
            "process"
          ]
        }
      }
    }
  ]
}