{
  "info": {
    "_postman_id": "168238e2-2484-41cb-8b75-7508d326370d",
    "name": "Microsoft Azure Azure.AI.DocumentTranslation",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "createdAt": "2026-06-05T15:12:00.000Z",
    "updatedAt": "2026-06-05T15:12:00.000Z",
    "lastUpdatedBy": "35240",
    "uid": "35240-168238e2-2484-41cb-8b75-7508d326370d"
  },
  "item": [
    {
      "name": "document:translate",
      "item": [
        {
          "name": "Microsoft Azure Post Document:translate",
          "id": "be5eb898-7b1c-40b2-a120-7f13af21024f",
          "protocolProfileBehavior": {
            "disableBodyPruning": true
          },
          "request": {
            "method": "POST",
            "header": [
              {
                "description": "An opaque, globally-unique, client-generated string identifier for the request.",
                "key": "x-ms-client-request-id",
                "value": "<uuid>"
              },
              {
                "key": "Content-Type",
                "value": "multipart/form-data"
              },
              {
                "key": "Accept",
                "value": "application/octet-stream"
              }
            ],
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "description": "(Required) Document to be translated in the form",
                  "key": "document",
                  "type": "file",
                  "value": null
                },
                {
                  "description": "Glossary / translation memory will be used during translation in the form.",
                  "key": "glossary",
                  "value": "<binary>,<binary>",
                  "type": "text"
                }
              ]
            },
            "url": {
              "raw": "{{baseUrl}}/document:translate?api-version=<string>&sourceLanguage=<string>&targetLanguage=<string>&category=general&allowFallback=<boolean>",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "document:translate"
              ],
              "query": [
                {
                  "description": "(Required) The API version to use for this operation.",
                  "key": "api-version",
                  "value": "<string>"
                },
                {
                  "description": "Specifies source language of the input document.\nIf this parameter isn't specified, automatic language detection is applied to determine the source language.\nFor example if the source document is written in English, then use sourceLanguage=en",
                  "key": "sourceLanguage",
                  "value": "<string>"
                },
                {
                  "description": "(Required) Specifies the language of the output document.\nThe target language must be one of the supported languages included in the translation scope.\nFor example if you want to translate the document in German language, then use targetLanguage=de",
                  "key": "targetLanguage",
                  "value": "<string>"
                },
                {
                  "description": "A string specifying the category (domain) of the translation. This parameter is used to get translations \n    from a customized system built with Custom Translator. Add the Category ID from your Custom Translator \n    project details to this parameter to use your deployed customized system. Default value is: general.",
                  "key": "category",
                  "value": "general"
                },
                {
                  "description": "Specifies that the service is allowed to fall back to a general system when a custom system doesn't exist. \n    Possible values are: true (default) or false.",
                  "key": "allowFallback",
                  "value": "<boolean>"
                }
              ]
            },
            "description": "API to translate a document."
          },
          "response": [
            {
              "id": "8e94e62f-539a-4de4-88c4-9519116c8f35",
              "name": "The request has succeeded.",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "An opaque, globally-unique, client-generated string identifier for the request.",
                    "key": "x-ms-client-request-id",
                    "value": "<uuid>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "multipart/form-data"
                  },
                  {
                    "key": "Accept",
                    "value": "application/octet-stream"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": "(Required) Document to be translated in the form",
                      "key": "document",
                      "type": "file"
                    },
                    {
                      "description": "Glossary / translation memory will be used during translation in the form.",
                      "key": "glossary",
                      "value": "<binary>,<binary>",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/document:translate?api-version=<string>&sourceLanguage=<string>&targetLanguage=<string>&category=general&allowFallback=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "document:translate"
                  ],
                  "query": [
                    {
                      "description": "(Required) The API version to use for this operation.",
                      "key": "api-version",
                      "value": "<string>"
                    },
                    {
                      "description": "Specifies source language of the input document.\nIf this parameter isn't specified, automatic language detection is applied to determine the source language.\nFor example if the source document is written in English, then use sourceLanguage=en",
                      "key": "sourceLanguage",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) Specifies the language of the output document.\nThe target language must be one of the supported languages included in the translation scope.\nFor example if you want to translate the document in German language, then use targetLanguage=de",
                      "key": "targetLanguage",
                      "value": "<string>"
                    },
                    {
                      "description": "A string specifying the category (domain) of the translation. This parameter is used to get translations \n    from a customized system built with Custom Translator. Add the Category ID from your Custom Translator \n    project details to this parameter to use your deployed customized system. Default value is: general.",
                      "key": "category",
                      "value": "general"
                    },
                    {
                      "description": "Specifies that the service is allowed to fall back to a general system when a custom system doesn't exist. \n    Possible values are: true (default) or false.",
                      "key": "allowFallback",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "status": "OK",
              "code": 200,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": "An opaque, globally-unique, client-generated string identifier for the request.",
                    "type": "text/plain"
                  },
                  "key": "x-ms-client-request-id",
                  "value": "<uuid>"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "<binary>",
              "createdAt": "2026-06-05T15:12:00.000Z",
              "updatedAt": "2026-06-05T15:12:00.000Z",
              "uid": "35240-8e94e62f-539a-4de4-88c4-9519116c8f35"
            },
            {
              "id": "07c8a187-fb03-4967-a9f3-c41d5417bc38",
              "name": "An unexpected error response.",
              "originalRequest": {
                "method": "POST",
                "header": [
                  {
                    "description": "An opaque, globally-unique, client-generated string identifier for the request.",
                    "key": "x-ms-client-request-id",
                    "value": "<uuid>"
                  },
                  {
                    "key": "Content-Type",
                    "value": "multipart/form-data"
                  },
                  {
                    "key": "Accept",
                    "value": "application/octet-stream"
                  },
                  {
                    "description": "Added as a part of security scheme: apikey",
                    "key": "Ocp-Apim-Subscription-Key",
                    "value": "<API Key>"
                  }
                ],
                "body": {
                  "mode": "formdata",
                  "formdata": [
                    {
                      "description": "(Required) Document to be translated in the form",
                      "key": "document",
                      "type": "file"
                    },
                    {
                      "description": "Glossary / translation memory will be used during translation in the form.",
                      "key": "glossary",
                      "value": "<binary>,<binary>",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "{{baseUrl}}/document:translate?api-version=<string>&sourceLanguage=<string>&targetLanguage=<string>&category=general&allowFallback=<boolean>",
                  "host": [
                    "{{baseUrl}}"
                  ],
                  "path": [
                    "document:translate"
                  ],
                  "query": [
                    {
                      "description": "(Required) The API version to use for this operation.",
                      "key": "api-version",
                      "value": "<string>"
                    },
                    {
                      "description": "Specifies source language of the input document.\nIf this parameter isn't specified, automatic language detection is applied to determine the source language.\nFor example if the source document is written in English, then use sourceLanguage=en",
                      "key": "sourceLanguage",
                      "value": "<string>"
                    },
                    {
                      "description": "(Required) Specifies the language of the output document.\nThe target language must be one of the supported languages included in the translation scope.\nFor example if you want to translate the document in German language, then use targetLanguage=de",
                      "key": "targetLanguage",
                      "value": "<string>"
                    },
                    {
                      "description": "A string specifying the category (domain) of the translation. This parameter is used to get translations \n    from a customized system built with Custom Translator. Add the Category ID from your Custom Translator \n    project details to this parameter to use your deployed customized system. Default value is: general.",
                      "key": "category",
                      "value": "general"
                    },
                    {
                      "description": "Specifies that the service is allowed to fall back to a general system when a custom system doesn't exist. \n    Possible values are: true (default) or false.",
                      "key": "allowFallback",
                      "value": "<boolean>"
                    }
                  ]
                }
              },
              "status": "Internal Server Error",
              "code": 500,
              "_postman_previewlanguage": "json",
              "header": [
                {
                  "key": "Content-Type",
                  "value": "application/json"
                },
                {
                  "disabled": false,
                  "description": {
                    "content": "String error code indicating what went wrong.",
                    "type": "text/plain"
                  },
                  "key": "x-ms-error-code",
                  "value": "<string>"
                }
              ],
              "cookie": [],
              "responseTime": null,
              "body": "{\n  \"error\": {\n    \"code\": \"<string>\",\n    \"message\": \"<string>\",\n    \"target\": \"<string>\",\n    \"details\": [\n      {\n        \"value\": \"<Circular reference to #/components/schemas/Azure.Core.Foundations.Error detected>\"\n      },\n      {\n        \"value\": \"<Circular reference to #/components/schemas/Azure.Core.Foundations.Error detected>\"\n      }\n    ],\n    \"innererror\": {\n      \"code\": \"<string>\",\n      \"innererror\": {\n        \"value\": \"<Circular reference to #/components/schemas/Azure.Core.Foundations.InnerError detected>\"\n      }\n    }\n  }\n}",
              "createdAt": "2026-06-05T15:12:00.000Z",
              "updatedAt": "2026-06-05T15:12:00.000Z",
              "uid": "35240-07c8a187-fb03-4967-a9f3-c41d5417bc38"
            }
          ],
          "createdAt": "2026-06-05T15:12:00.000Z",
          "updatedAt": "2026-06-05T15:12:00.000Z",
          "uid": "35240-be5eb898-7b1c-40b2-a120-7f13af21024f"
        }
      ],
      "id": "8fe715ab-6475-4415-b48e-50f59954fbc2",
      "createdAt": "2026-06-05T15:12:00.000Z",
      "updatedAt": "2026-06-05T15:12:00.000Z",
      "uid": "35240-8fe715ab-6475-4415-b48e-50f59954fbc2"
    }
  ],
  "auth": {
    "type": "apikey",
    "apikey": [
      {
        "key": "key",
        "value": "Ocp-Apim-Subscription-Key",
        "type": "string"
      },
      {
        "key": "value",
        "value": "{{apiKey}}",
        "type": "string"
      },
      {
        "key": "in",
        "value": "header",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "Endpoint",
      "value": "none"
    },
    {
      "key": "baseUrl",
      "value": "{{Endpoint}}"
    }
  ]
}