{
  "opencollection": "1.0.0",
  "info": {
    "name": "Plansource Admin Processing API",
    "version": "2.0.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "https://api.plansource.com/oauth/v2/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Processing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "PUT /subscriber/{id}/terminate",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/subscriber/:id/terminate",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber to terminate."
              },
              {
                "name": "is_custom_id",
                "value": "",
                "type": "query",
                "description": "Set to true if the {id} in the path is customer generated."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Terminate a subscriber."
        },
        {
          "info": {
            "name": "PUT /subscriber/{id}/rehire",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/subscriber/:id/rehire",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber to rehire."
              },
              {
                "name": "is_custom_id",
                "value": "",
                "type": "query",
                "description": "Set to true if the {id} in the path is customer generated."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rehire a subscriber."
        },
        {
          "info": {
            "name": "PUT /subscriber/{subscriber_id}/dependent/{id}/deactivate",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/subscriber/:subscriber_id/dependent/:id/deactivate",
            "params": [
              {
                "name": "subscriber_id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the dependent to deactivate."
              },
              {
                "name": "is_custom_id",
                "value": "",
                "type": "query",
                "description": "Set to true if the {subscriber_id} in the path is customer generated."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Deactivate a dependent."
        },
        {
          "info": {
            "name": "PUT /subscriber/{subscriber_id}/dependent/{id}/reactivate",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/subscriber/:subscriber_id/dependent/:id/reactivate",
            "params": [
              {
                "name": "subscriber_id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber."
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the dependent to reactivate."
              },
              {
                "name": "is_custom_id",
                "value": "",
                "type": "query",
                "description": "Set to true if the {subscriber_id} in the path is customer generated."
              }
            ]
          },
          "docs": "Reactivate a dependent."
        },
        {
          "info": {
            "name": "GET /payroll_coverages_subscriber/{id}",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.plansource.com/admin/v2/payroll_coverages_subscriber/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber."
              },
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date of a date range of payroll changes.  ISO 8601 date or RFC 3339 date time date (ex. 2017-12-01 or 2017-12-01T12:30:30-06:00)."
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date of a date range of payroll changes.  ISO 8601 date or RFC 3339 date time (ex. 2017-12-01 or 2017-12-01T12:30:30-06:00)."
              },
              {
                "name": "is_custom_id",
                "value": "",
                "type": "query",
                "description": "Set to true if the {id} in the path is customer generated."
              },
              {
                "name": "current",
                "value": "",
                "type": "query",
                "description": "Return only the subscriber's current coverage records."
              },
              {
                "name": "previous",
                "value": "",
                "type": "query",
                "description": "Return only the subscriber's coverage records that are immediately prior to the current record."
              }
            ]
          },
          "docs": "Retrieve payroll coverages for a subscriber."
        },
        {
          "info": {
            "name": "GET /payroll_coverages_subscribers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.plansource.com/admin/v2/payroll_coverages_subscribers",
            "params": [
              {
                "name": "start_date",
                "value": "",
                "type": "query",
                "description": "Start date of a date range of payroll changes.  ISO 8601 date or RFC 3339 date time date (ex. 2017-12-01 or 2017-12-01T12:30:30-06:00)."
              },
              {
                "name": "end_date",
                "value": "",
                "type": "query",
                "description": "End date of a date range of payroll changes.  ISO 8601 date or RFC 3339 date time (ex. 2017-12-01 or 2017-12-01T12:30:30-06:00)."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Set to page number. Large responses are parsed into a maximum of 500 records or the per_page value for large responses."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Override of the maximum of 500 records returned in a response."
              },
              {
                "name": "include_test",
                "value": "",
                "type": "query",
                "description": "Include test employees."
              },
              {
                "name": "current",
                "value": "",
                "type": "query",
                "description": "Return only the subscriber's current coverage records."
              },
              {
                "name": "previous",
                "value": "",
                "type": "query",
                "description": "Return only the subscriber's coverage records that are immediately prior to the current record."
              }
            ]
          },
          "docs": "Retrieve payroll coverages for all subscribers in the organization."
        },
        {
          "info": {
            "name": "PUT /subscribers/terminate",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/subscribers/terminate",
            "params": [
              {
                "name": "is_custom_id",
                "value": "",
                "type": "query",
                "description": "Set to true if the {id} is customer generated."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Terminate subscriber resources."
        },
        {
          "info": {
            "name": "PUT /subscribers/rehire",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/subscribers/rehire",
            "params": [
              {
                "name": "is_custom_id",
                "value": "",
                "type": "query",
                "description": "Set to true if the {id} is customer generated."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Rehire subscriber resources."
        },
        {
          "info": {
            "name": "GET /eoi/subscriber/{subscriber_id}",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.plansource.com/admin/v2/eoi/subscriber/:subscriber_id",
            "params": [
              {
                "name": "subscriber_id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber."
              }
            ]
          },
          "docs": "Retrieve pending EOI data for a single subscriber."
        },
        {
          "info": {
            "name": "GET /eoi/subscribers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.plansource.com/admin/v2/eoi/subscribers",
            "params": [
              {
                "name": "include_test",
                "value": "",
                "type": "query",
                "description": "Include test employees."
              }
            ]
          },
          "docs": "Retrieve pending EOI data for all subscribers."
        },
        {
          "info": {
            "name": "PUT /eoi/decision/{subscriber_id}",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/eoi/decision/:subscriber_id",
            "params": [
              {
                "name": "subscriber_id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Process EOI decisions for a single subscriber."
        },
        {
          "info": {
            "name": "PUT /eoi/decisions",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/eoi/decisions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Process EOI decisions for multiple subscribers."
        },
        {
          "info": {
            "name": "PUT /eoi/form_completion/{subscriber_id}",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/eoi/form_completion/:subscriber_id",
            "params": [
              {
                "name": "subscriber_id",
                "value": "",
                "type": "path",
                "description": "The ID of the subscriber."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Process EOI form completions for single subscriber."
        },
        {
          "info": {
            "name": "PUT /eoi/form_completions",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.plansource.com/admin/v2/eoi/form_completions",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Process EOI form completions for multiple subscribers."
        }
      ]
    }
  ],
  "bundled": true
}