{
  "info": {
    "_postman_id": "5f37e1c1-62ac-407d-bafa-686fde4880f5",
    "name": "Factset Analytics Datastore About Upload Custom Document API",
    "description": "Allow clients to fetch precalculated Analytics through predeterministic URLs.\n\nContact Support:\n Name: FactSet Research Systems\n Email: api@factset.com",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-07-28T01:57:28.000Z",
    "updatedAt": "2026-07-28T01:57:29.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-5f37e1c1-62ac-407d-bafa-686fde4880f5"
  },
  "item": [
    {
      "name": "v1",
      "item": [
        {
          "name": "upload-custom-document",
          "item": [
            {
              "name": "Factset Upload a custom document",
              "id": "ec8e8096-d5b6-4e9d-b82f-2c229c741050",
              "protocolProfileBehavior": {
                "disableBodyPruning": true
              },
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "multipart/form-data"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "key": "file",
                      "value": "<binary>",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/v1/upload-custom-document",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "v1",
                    "upload-custom-document"
                  ]
                },
                "description": "Upload any thrid-party documents that need to be included in the final PDF. Once uploaded, the successful response will be a unique fileurl that can be used to add the files to the PDF output using the create-book endpoint. Supported files include Powerpoint, Word, RTF and PDF. The total size should not exceed 250MB and each file should not exceed 10MB."
              },
              "response": [
                {
                  "id": "11e8d2ef-8590-4c2e-bc60-aa9b51deb8dc",
                  "name": "Successful response contains file name, fileURL of the book uploaded",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "multipart/form-data"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "key": "file",
                          "value": "<binary>",
                          "type": "text"
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/upload-custom-document",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "upload-custom-document"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Content-Type",
                      "value": "application/json"
                    }
                  ],
                  "cookie": [],
                  "responseTime": null,
                  "body": "[\n  {\n    \"name\": \"<string>\",\n    \"file_url\": \"<string>\"\n  },\n  {\n    \"name\": \"<string>\",\n    \"file_url\": \"<string>\"\n  }\n]",
                  "createdAt": "2026-07-28T01:57:29.000Z",
                  "updatedAt": "2026-07-28T01:57:29.000Z",
                  "uid": "35240-11e8d2ef-8590-4c2e-bc60-aa9b51deb8dc"
                },
                {
                  "id": "562dade2-b172-4e00-a537-7c13f5c8e2f9",
                  "name": "Invalid ticker or Unknown error",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "multipart/form-data"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "key": "file",
                          "value": "<binary>",
                          "type": "text"
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/upload-custom-document",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "upload-custom-document"
                      ]
                    }
                  },
                  "status": "Bad Request",
                  "code": 400,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:57:29.000Z",
                  "updatedAt": "2026-07-28T01:57:29.000Z",
                  "uid": "35240-562dade2-b172-4e00-a537-7c13f5c8e2f9"
                },
                {
                  "id": "117668f3-73d8-45cf-af72-cd832dd7f6c7",
                  "name": "Missing or invalid authentication",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "multipart/form-data"
                      },
                      {
                        "description": "Added as a part of security scheme: basic",
                        "key": "Authorization",
                        "value": "Basic <credentials>"
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "key": "file",
                          "value": "<binary>",
                          "type": "text"
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{baseUrl}}/v1/upload-custom-document",
                      "host": [
                        "{{baseUrl}}"
                      ],
                      "path": [
                        "v1",
                        "upload-custom-document"
                      ]
                    }
                  },
                  "status": "Unauthorized",
                  "code": 401,
                  "_postman_previewlanguage": "text",
                  "header": [],
                  "cookie": [],
                  "responseTime": null,
                  "body": null,
                  "createdAt": "2026-07-28T01:57:29.000Z",
                  "updatedAt": "2026-07-28T01:57:29.000Z",
                  "uid": "35240-117668f3-73d8-45cf-af72-cd832dd7f6c7"
                }
              ],
              "createdAt": "2026-07-28T01:57:29.000Z",
              "updatedAt": "2026-07-28T01:57:29.000Z",
              "uid": "35240-ec8e8096-d5b6-4e9d-b82f-2c229c741050"
            }
          ],
          "id": "9574bcb2-782e-4318-8233-484ba4de6c97",
          "createdAt": "2026-07-28T01:57:29.000Z",
          "updatedAt": "2026-07-28T01:57:29.000Z",
          "uid": "35240-9574bcb2-782e-4318-8233-484ba4de6c97"
        }
      ],
      "id": "558fdf34-0473-4989-bfa5-847622c82868",
      "createdAt": "2026-07-28T01:57:29.000Z",
      "updatedAt": "2026-07-28T01:57:29.000Z",
      "uid": "35240-558fdf34-0473-4989-bfa5-847622c82868"
    }
  ],
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{basicAuthUsername}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{basicAuthPassword}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "baseUrl",
      "value": "https://api.factset.com"
    }
  ]
}