{
  "info": {
    "_postman_id": "ff349ff80e498568c1ebfe8112aaee93",
    "name": "Ticket API (English)",
    "description": "Collection automatically generated from the OpenAPI definition published in Placetopay Docs. The base_url variable is already set with the testing environment address.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://test.placetopay.com/rest"
    }
  ],
  "item": [
    {
      "name": "Search",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/ticket/search",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "ticket",
            "search"
          ]
        },
        "description": "Get the list of tickets for a given approved session.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"auth\": {\n    \"login\": \"aabbccdd1234567890aabbccdd123456\",\n    \"tranKey\": \"ABC123example456trankey+789abc012def3456ABC=\",\n    \"nonce\": \"NWY1MTg4ODhjMzFmOQ==\",\n    \"seed\": \"2020-09-03T19:21:28-05:00\"\n  },\n  \"internalReference\": 3557\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "post-ticket-create",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/ticket/create",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "ticket",
            "create"
          ]
        },
        "description": "Allow add tickets for a given approved session.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"auth\": {\n    \"login\": \"aabbccdd1234567890aabbccdd123456\",\n    \"tranKey\": \"ABC123example456trankey+789abc012def3456ABC=\",\n    \"nonce\": \"NWY1MTkxMTQ2YmI3Yw==\",\n    \"seed\": \"2020-09-03T19:57:56-05:00\"\n  },\n  \"internalReference\": 3563,\n  \"tickets\": [\n    {\n      \"ticket\": \"1234567890115\",\n      \"issuedAt\": \"2020-09-03\"\n    },\n    {\n      \"ticket\": \"1234567890114\",\n      \"issuedAt\": \"2020-09-03\"\n    },\n    {\n      \"ticket\": \"1234567890118\",\n      \"issuedAt\": \"2020-09-03\"\n    }\n  ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    },
    {
      "name": "post-ticket-remove",
      "request": {
        "method": "POST",
        "header": [
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{base_url}}/ticket/remove",
          "host": [
            "{{base_url}}"
          ],
          "path": [
            "ticket",
            "remove"
          ]
        },
        "description": "Allow remove tickets for a given approved session.",
        "body": {
          "mode": "raw",
          "raw": "{\n  \"auth\": {\n    \"login\": \"aabbccdd1234567890aabbccdd123456\",\n    \"tranKey\": \"ABC123example456trankey+789abc012def3456ABC=\",\n    \"nonce\": \"NWY1MTk5YmY3OTUwNQ==\",\n    \"seed\": \"2020-09-03T20:34:55-05:00\"\n  },\n  \"internalReference\": 3571,\n  \"tickets\": [\n    \"1236819792095\",\n    \"1234272229799\",\n    \"1234760251968\",\n    \"1232675218228\",\n    \"1232459118609\",\n    \"1232569662668\",\n    \"1236367572980\",\n    \"1238315951241\",\n    \"1233389977785\",\n    \"1236568039458\"\n  ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        }
      }
    }
  ]
}