{
  "opencollection": "1.0.0",
  "info": {
    "name": "nCino Mortgage Loan Officer Assignments API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "client_credentials",
      "accessTokenUrl": "/oauth/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Loan Officer Assignments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve loan officer assignments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ncinomortgage.com/users/loan_officers/:loan_officer_id/assignments",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "assignment_type",
                "value": "",
                "type": "query",
                "description": "Assignment type enum key by which to filter assignments (i.e. all <<glossary:branch>>es to which a loan officer may be assigned)."
              },
              {
                "name": "loan_officer_id",
                "value": "",
                "type": "path",
                "description": "Loan officer ID."
              },
              {
                "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 <<glossary:loan officer>> <<glossary:assignment>>s."
        },
        {
          "info": {
            "name": "Create a loan officer assignment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.ncinomortgage.com/users/loan_officers/:loan_officer_id/assignments",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "loan_officer_id",
                "value": "",
                "type": "path",
                "description": "Loan officer ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "This endpoint will create a <<glossary:loan officer>> <<glossary:assignment>>."
        },
        {
          "info": {
            "name": "List available assignments for a loan officer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ncinomortgage.com/users/loan_officers/:loan_officer_id/available_assignments/:assignment_type",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "assignment_type",
                "value": "",
                "type": "path",
                "description": "Assignment type enum key by which to filter available assignments (i.e. all available <<glossary:branch>>es to which a loan officer may be assigned)."
              },
              {
                "name": "loan_officer_id",
                "value": "",
                "type": "path",
                "description": "Loan officer ID."
              },
              {
                "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 list available <<glossary:assignment>>s for a <<glossary:loan officer>>.\n\nAssigning a loan officer to another resource, provides them access to that resource's loans and the ability to interact with those loans.\n\n> 🙇 Heads up!\n**Assignments are restricted by the loan officer’s placement within the organization and possible setting configuration.**"
        },
        {
          "info": {
            "name": "Retrieve a loan officer assignment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.ncinomortgage.com/users/loan_officers/:loan_officer_id/assignments/:account_assignment_id",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_assignment_id",
                "value": "",
                "type": "path",
                "description": "Assignment ID."
              },
              {
                "name": "loan_officer_id",
                "value": "",
                "type": "path",
                "description": "Loan officer ID."
              }
            ]
          },
          "docs": "This endpoint will retrieve a <<glossary:loan officer>> <<glossary:assignment>>."
        },
        {
          "info": {
            "name": "Delete a loan officer assignment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.ncinomortgage.com/users/loan_officers/:loan_officer_id/assignments/:account_assignment_id",
            "headers": [
              {
                "name": "X-Api-Version",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "account_assignment_id",
                "value": "",
                "type": "path",
                "description": "Assignment ID."
              },
              {
                "name": "loan_officer_id",
                "value": "",
                "type": "path",
                "description": "Loan officer ID."
              }
            ]
          },
          "docs": "This endpoint will delete a <<glossary:loan officer>> <<glossary:assignment>>."
        }
      ]
    }
  ],
  "bundled": true
}