{
  "opencollection": "1.0.0",
  "info": {
    "name": "nCino Mortgage Company State License Templates API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Company State License Templates",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve all company state license templates",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ncinomortgage.com/companies/:company_id/state_license_templates",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "Company ID."
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "State by which to filter state license templates."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page to retrieve."
              },
              {
                "name": "page_size",
                "value": "",
                "type": "query",
                "description": "The number of records returned in each page."
              },
              {
                "name": "created_after",
                "value": "",
                "type": "query",
                "description": "The date which a resource must be created after to be returned."
              },
              {
                "name": "created_before",
                "value": "",
                "type": "query",
                "description": "The date which a resource must be created before to be returned."
              },
              {
                "name": "updated_after",
                "value": "",
                "type": "query",
                "description": "The date which a resource must be updated after to be returned."
              },
              {
                "name": "updated_before",
                "value": "",
                "type": "query",
                "description": "The date which a resource must be updated before to be returned."
              }
            ]
          },
          "docs": "This endpoint will retrieve all state license templates for the given <<glossary:company>>."
        },
        {
          "info": {
            "name": "Create a company state license template",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ncinomortgage.com/companies/:company_id/state_license_templates",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "Company ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint will create a state license template for the given <<glossary:company>>."
        },
        {
          "info": {
            "name": "Retrieve a company state license template",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ncinomortgage.com/companies/:company_id/state_license_templates/:state_license_template_id",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "Company ID."
              },
              {
                "name": "state_license_template_id",
                "value": "",
                "type": "path",
                "description": "State license template ID."
              }
            ]
          },
          "docs": "This endpoint will retrieve a state license template for the given <<glossary:company>>."
        },
        {
          "info": {
            "name": "Update a company state license template",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.ncinomortgage.com/companies/:company_id/state_license_templates/:state_license_template_id",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "company_id",
                "value": "",
                "type": "path",
                "description": "Company ID."
              },
              {
                "name": "state_license_template_id",
                "value": "",
                "type": "path",
                "description": "State license template ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint will update a state license template for the given <<glossary:company>>."
        }
      ]
    }
  ],
  "bundled": true
}