{
  "opencollection": "1.0.0",
  "info": {
    "name": "Device Swap",
    "version": "0.2.0"
  },
  "items": [
    {
      "info": {
        "name": "Retrieve Device Swap Date",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "retrieveDeviceSwapDate",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiRoot}/device-swap/v0.2/retrieve-date",
            "headers": [
              {
                "name": "x-correlator",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Get timestamp of last device swap for a mobile user account provided with phone number."
        }
      ]
    },
    {
      "info": {
        "name": "Check Device Swap",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "checkDeviceSwap",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{apiRoot}/device-swap/v0.2/check",
            "headers": [
              {
                "name": "x-correlator",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Check if device swap has been performed during a past period"
        }
      ]
    }
  ],
  "bundled": true
}