{
  "opencollection": "1.0.0",
  "info": {
    "name": "Automated Spreading and Analysis Api-Key Files API",
    "version": "1.3.1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Files",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List DocumentFile records",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/document-file",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of results to return per page."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "The initial index from which to return the results."
              },
              {
                "name": "borrower_uuid",
                "value": "",
                "type": "query",
                "description": "Borrower to filter results for"
              }
            ]
          },
          "docs": "List files submitted to Fincura"
        },
        {
          "info": {
            "name": "Submit a new DocumentFile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/document-file",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a new file to Fincura for processing.\n\nThe minimal document creation request requires just a `borrower_uuid` and the `media_type` of the file to process.\n\n\n    POST /v1/document-file HTTP/1.1\n    Host: api.amer.spreading.moodysanalytics.com\n    Accept: application/json\n    Authorization: Bearer eyJ0e...nFTRKTbcg\n    Content-Type: application/json\n\n    {\n        \"borrower_uuid\": \"6e64724a-25fc-4e1a-8071-1ef29845ab1d\",\n        \"media_type\": \"application/pdf\"\n    }\n    \n\nThe above request will "
        },
        {
          "info": {
            "name": "Get a DocumentFile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/document-file/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              },
              {
                "name": "borrower_uuid",
                "value": "",
                "type": "query",
                "description": "Borrower to filter results for"
              }
            ]
          },
          "docs": "Retrieve a file submitted to Fincura"
        },
        {
          "info": {
            "name": "Delete a DocumentFile",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/v1/document-file/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              },
              {
                "name": "borrower_uuid",
                "value": "",
                "type": "query",
                "description": "Borrower to filter results for"
              }
            ]
          },
          "docs": "Delete a file from Fincura."
        },
        {
          "info": {
            "name": "Retrieve a BulkFile",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v1/bulk-file/:uuid",
            "params": [
              {
                "name": "uuid",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a bulk file submitted to Fincura"
        },
        {
          "info": {
            "name": "Submit a new BulkFile",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/v1/bulk-file",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Add a new file to Fincura that maps to many borrowers. Requires use of a specific file processor per file format. Speak with you Fincura account manager about available options on your account.\n\n\n    POST /v1/bulk-file HTTP/1.1\n    Host: api.amer.spreading.moodysanalytics.com\n    Accept: application/json\n    Authorization: Bearer eyJ0e...nFTRKTbcg\n    Content-Type: application/json\n\n    {\n        \"processor_key\": \"6e64724a-25fc-4e1a-8071-1ef29845ab1d\",\n        \"media_type\": \"application/pdf\"\"\n  "
        }
      ]
    }
  ],
  "bundled": true
}