{
  "opencollection": "1.0.0",
  "info": {
    "name": "Harri Employee Open Corporate Users API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Corporate Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List corporate users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/corporates/users",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "specify the number of rows to return"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "page number"
              },
              {
                "name": "franchisees_ids",
                "value": "",
                "type": "query",
                "description": "comma-separated list of franchisee ids to filter by"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://oauth.harri.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "List corporate users."
        },
        {
          "info": {
            "name": "Create a corporate user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/corporates/users",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://oauth.harri.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Create a corporate user."
        },
        {
          "info": {
            "name": "Retrieve a corporate user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/corporates/users/:pk",
            "params": [
              {
                "name": "pk",
                "value": "",
                "type": "path",
                "description": "corporate user id"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://oauth.harri.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Retrieve a corporate user."
        },
        {
          "info": {
            "name": "Update a corporate user",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/corporates/users/:pk",
            "params": [
              {
                "name": "pk",
                "value": "",
                "type": "path",
                "description": "corporate user id"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://oauth.harri.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Update a corporate user."
        },
        {
          "info": {
            "name": "Delete a corporate user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://gateway.harri.com/open-api-hub/api/v1/corporates/users/:pk",
            "params": [
              {
                "name": "pk",
                "value": "",
                "type": "path",
                "description": "corporate user id"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "client_credentials",
              "accessTokenUrl": "https://oauth.harri.com/oauth2/token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Delete a corporate user."
        }
      ]
    }
  ],
  "bundled": true
}