Skip to content

Commit f7d0c5a

Browse files
authored
Merge pull request #176205 from laujan/patch-28
Update try-v3-rest-api.md
2 parents eb98bc6 + a1577c0 commit f7d0c5a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/applied-ai-services/form-recognizer/quickstarts/try-v3-rest-api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ In this quickstart you'll use following features to analyze and extract data and
6565
6666
1. Replace `{endpoint}` with the endpoint that you obtained with your Form Recognizer subscription.
6767
1. Replace `{subscription key}` with the subscription key you copied from the previous step.
68-
1. Replace `\"{your-document-url}` with a sample form document URL.
68+
1. Replace `{your-document-url}` with a sample form document URL.
6969

7070
#### Request
7171

@@ -77,11 +77,11 @@ In this quickstart you'll use following features to analyze and extract data and
7777

7878
You'll receive a `202 (Success)` response that includes an **Operation-Location** header. The value of this header contains a result ID that you can use to query the status of the asynchronous operation and get the results:
7979

80-
https:\//{host}/formrecognizer/documentModels/{modelId}/analyzeResults/**{resultId}**?api-version=2021-07-30-preview
80+
https://{host}/formrecognizer/documentModels/{modelId}/analyzeResults/**{resultId}**?api-version=2021-07-30-preview
8181

8282
### Get general document results
8383

84-
After you've called the **[Analyze document](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-document:analyze?api-version=2021-09-30-preview&stringIndexType=textElements)** API, call the **[Get analyze result](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-1/operations/GetAnalyzeDocumentResult)** API to get the status of the operation and the extracted data. Before you run the command, make these changes:
84+
After you've called the **[Analyze document](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-document:analyze?api-version=2021-09-30-preview&stringIndexType=textElements)** API, call the **[Get analyze result](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-document/analyzeResults/{resultId}?api-version=2021-09-30-preview)** API to get the status of the operation and the extracted data. Before you run the command, make these changes:
8585

8686
1. Replace `{endpoint}` with the endpoint that you obtained with your Form Recognizer subscription.
8787
1. Replace `{subscription key}` with the subscription key you copied from the previous step.
@@ -322,7 +322,7 @@ The `"analyzeResults"` node contains all of the recognized text. Text is organiz
322322

323323
1. Replace `{endpoint}` with the endpoint that you obtained with your Form Recognizer subscription.
324324
1. Replace `{subscription key}` with the subscription key you copied from the previous step.
325-
1. Replace `\"{your-document-url}` with one of the example URLs.
325+
1. Replace `"{your-document-url}` with one of the example URLs.
326326

327327
#### Request
328328

@@ -339,7 +339,7 @@ You'll receive a `202 (Success)` response that includes an **Operation-Location*
339339

340340
### Get layout results
341341

342-
After you've called the **[Analyze document](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-layout:analyze?api-version=2021-09-30-preview&stringIndexType=textElements)** API, call the **[Get analyze result](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-1/operations/GetAnalyzeDocumentResult)** API to get the status of the operation and the extracted data. Before you run the command, make these changes:
342+
After you've called the **[Analyze document](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-layout:analyze?api-version=2021-09-30-preview&stringIndexType=textElements)** API, call the **[Get analyze result](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-layout/analyzeResults/{resultId}?api-version=2021-09-30-preview)** API to get the status of the operation and the extracted data. Before you run the command, make these changes:
343343

344344
1. Replace `{endpoint}` with the endpoint that you obtained with your Form Recognizer subscription.
345345
1. Replace `{subscription key}` with the subscription key you copied from the previous step.
@@ -349,7 +349,7 @@ After you've called the **[Analyze document](https://westus.api.cognitive.micros
349349
#### Request
350350

351351
```bash
352-
curl -v -X GET "https://{endpoint}/formrecognizer/documentModels/prebuilt-document/analyzeResults/{resultId}?api-version=2021-09-30-preview&api-version=2021-09-30-preview"
352+
curl -v -X GET "https://{endpoint}/formrecognizer/documentModels/prebuilt-layout/analyzeResults/{resultId}?api-version=2021-09-30-preview&api-version=2021-09-30-preview"
353353
```
354354

355355
### Examine the response
@@ -392,7 +392,7 @@ https:\//{host}/formrecognizer/documentModels/{modelId}/analyzeResults/**{result
392392

393393
### Get invoice results
394394

395-
After you've called the **[Analyze document](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-invoice:analyze?api-version=2021-09-30-preview&stringIndexType=textElements)** API, call the **[Get analyze result](https://westus.dev.cognitive.microsoft.com/docs/services/form-recognizer-api-v3-0-preview-1/operations/GetAnalyzeDocumentResult)** API to get the status of the operation and the extracted data. Before you run the command, make these changes:
395+
After you've called the **[Analyze document](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-invoice:analyze?api-version=2021-09-30-preview&stringIndexType=textElements)** API, call the **[Get analyze result](https://westus.api.cognitive.microsoft.com/formrecognizer/documentModels/prebuilt-invoice/analyzeResults/{resultId}?api-version=2021-09-30-preview)** API to get the status of the operation and the extracted data. Before you run the command, make these changes:
396396

397397
1. Replace `{endpoint}` with the endpoint that you obtained with your Form Recognizer subscription.
398398
1. Replace `{subscription key}` with the subscription key you copied from the previous step.

0 commit comments

Comments
 (0)