{
  "opencollection": "1.0.0",
  "info": {
    "name": "PeopleSoft CRM API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Customers",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "PeopleSoft List Customers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}:{port}/psft/api/crm/v1/customers",
            "params": [
              {
                "name": "search",
                "value": "example_value",
                "type": "query",
                "description": "Search term for customer name or ID"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve customer records."
        },
        {
          "info": {
            "name": "PeopleSoft Get Customer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}:{port}/psft/api/crm/v1/customers/:customerId",
            "params": [
              {
                "name": "customerId",
                "value": "PS123456",
                "type": "path",
                "description": "The customer identifier"
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve details for a specific customer."
        }
      ]
    },
    {
      "info": {
        "name": "Cases",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "PeopleSoft List Cases",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}:{port}/psft/api/crm/v1/cases",
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve support and service cases."
        },
        {
          "info": {
            "name": "PeopleSoft Create Case",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{hostname}:{port}/psft/api/crm/v1/cases",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Create a new support or service case."
        }
      ]
    },
    {
      "info": {
        "name": "Sales",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "PeopleSoft List Opportunities",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{hostname}:{port}/psft/api/crm/v1/sales/opportunities",
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Retrieve sales opportunities."
        }
      ]
    }
  ],
  "bundled": true
}