{
  "opencollection": "1.0.0",
  "info": {
    "name": "Legacy API (v1) Account Activity API",
    "version": "v1"
  },
  "items": [
    {
      "info": {
        "name": "Activity",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Returns an activity (task/event/email/call)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.practicepanther.com/api/activity/: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 an activity (task/event/email/call)"
        },
        {
          "info": {
            "name": "OData end point to get a list of all activities (tasks/events/emails/calls) accessible by the user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.practicepanther.com/api/activity",
            "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 activities (tasks/events/emails/calls) accessible by the user"
        },
        {
          "info": {
            "name": "Creates a new activity (task/event/email/call)",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://app.practicepanther.com/api/activity",
            "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 activity (task/event/email/call)"
        },
        {
          "info": {
            "name": "Updates an existing account (Contact)",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.practicepanther.com/api/activity",
            "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 account (Contact)"
        },
        {
          "info": {
            "name": "Marks an existing activity (task/event/email/call) as deleted",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.practicepanther.com/api/activity",
            "params": [
              {
                "name": "guid",
                "value": "",
                "type": "query"
              }
            ],
            "auth": {
              "type": "oauth2",
              "flow": "authorization_code",
              "authorizationUrl": "/OAuth/Authorize",
              "accessTokenUrl": "/OAuth/Token",
              "credentials": {
                "clientId": "{{clientId}}",
                "clientSecret": "{{clientSecret}}"
              }
            }
          },
          "docs": "Marks an existing activity (task/event/email/call) as deleted"
        }
      ]
    }
  ],
  "bundled": true
}