{
  "opencollection": "1.0.0",
  "info": {
    "name": "Shyft Customer Authentication > Email Customer > Demands API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Customer > Demands",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Demands",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{host}}/api/customer/user_role/locations/:location_id/demands",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "location_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List Demands"
        },
        {
          "info": {
            "name": "Create Demand",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "http://{{host}}/api/customer/user_role/locations/:location_id/demands",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "location_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create Demand"
        },
        {
          "info": {
            "name": "Show Demand",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "http://{{host}}/customer/user_role/locations/:location_id/demands/:demand_id",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "location_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "demand_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Show Demand"
        },
        {
          "info": {
            "name": "Update Demand",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "http://{{host}}/api/customer/user_role/locations/:location_id/demands/:demand_id",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "location_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "demand_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update Demand"
        },
        {
          "info": {
            "name": "Delete Demand",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "http://{{host}}/api/customer/user_role/locations/:location_id/demands/:demand_id",
            "headers": [
              {
                "name": "Session-Uukey",
                "value": "{{session_uukey}}"
              },
              {
                "name": "Content-Type",
                "value": "application/json"
              }
            ],
            "params": [
              {
                "name": "location_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "demand_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete Demand"
        }
      ]
    }
  ],
  "bundled": true
}