{
  "opencollection": "1.0.0",
  "info": {
    "name": "Legacy API (v1) Account Relationship API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Relationship",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns a relationshi",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.practicepanther.com/api/relationship/:guid",
            "params": [
              {
                "name": "guid",
                "value": "",
                "type": "path"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/OAuth/Authorize",
              "accessTokenUrl": "/OAuth/Token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Returns a relationshi"
        },
        {
          "info": {
            "name": "OData end point to get a list of all relationships for contacts accessible by the user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.practicepanther.com/api/relationship",
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/OAuth/Authorize",
              "accessTokenUrl": "/OAuth/Token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "OData end point to get a list of all relationships for contacts accessible by the user"
        },
        {
          "info": {
            "name": "Creates a new relationship",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.practicepanther.com/api/relationship",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/OAuth/Authorize",
              "accessTokenUrl": "/OAuth/Token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Creates a new relationship"
        },
        {
          "info": {
            "name": "Updates an existing relationship",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.practicepanther.com/api/relationship",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/OAuth/Authorize",
              "accessTokenUrl": "/OAuth/Token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Updates an existing relationship"
        },
        {
          "info": {
            "name": "Deletes an existing relationship",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.practicepanther.com/api/relationship",
            "params": [
              {
                "name": "guid",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/OAuth/Authorize",
              "accessTokenUrl": "/OAuth/Token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Deletes an existing relationship"
        }
      ]
    }
  ],
  "bundled": true
}