> For the complete documentation index, see [llms.txt](https://api2-ekycapis.innov8tif.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api2-ekycapis.innov8tif.com/okaydb/okaydb-all/aml-search/save-result-as-pdf/versions.md).

# Versions

## Version 2

### Person's Result

## Save Person's Result as PDF

<mark style="color:blue;">`GET`</mark> `https://okaydbdemo.innov8tif.com/ekyc/api/aml/v2/person/pdf/{{resourceId}}?apiKey={{apiKey}}`

Get the resource Id from Search Person V2.

#### Query Parameters

| Name                                     | Type   | Description                 |
| ---------------------------------------- | ------ | --------------------------- |
| apiKey<mark style="color:red;">\*</mark> | string | To be assigned by innov8tif |

{% tabs %}
{% tab title="200 Save the context as PDF file" %}

```
%PDF-1.4
%����
1 0 obj
<<
/Title<FEFF0050006500720073006F006E002000640065007400610069006C0073>
/Creator<FEFF0077006B00680074006D006C0074006F00700064006600200030002E00310032002E0034>
/Producer(PDFsharp 1.50.4845 \(www.pdfsharp.com\) \(Original: Qt 4.8.7\))
/CreationDate(D:20210813072750+01'00')
/ModDate(D:20210813072751+01'00')
>>
endobj
2 0 obj
<<
/Type/Pages
/Kids[5 0 R 19 0 R 25 0 R 30 0 R 34 0 R 38 0 R 42 0 R 46 0 R 50 0 R 54 0 R 58 0 R 62 0 R 66 0 R 70 0 R 79 0 R 88 0 R 99 0 R 109 0 R 119 0 R 129 0 R 139 0 R 148 0 R 157 0 R 166 0 R 175 0 R 184 0 R 192 0 R 202 0 R 211 0 R 221 0 R 231 0 R 240 0 R 249 0 R 258 0 R 267 0 R 276 0 R 287 0 R 297 0 R 306 0 R 315 0 R 324 0 R 334 0 R 344 0 R 352 0 R 361 0 R 369 0 R 376 0 R 386 0 R 396 0 R 406 0 R 414 0 R 421 0 R 427 0 R 437 0 R 447 0 R 456 0 R 467 0 R 478 0 R 487 0 R 495 0 R 506 0 R 519 0 R 528 0 R 538 0 R 550 0 R 559 0 R 571 0 R 581 0 R 589 0 R 599 0 R 609 0 R 621 0 R 628 0 R]
/Count 73
/ProcSet[/PDF/Text/ImageB/ImageC]
>>
endobj
3 0 obj
<<
/Type/ExtGState
/SA true
/SM 0.02
/ca 1
/CA 1
/AIS false
/SMask/None
>>
endobj
4 0 obj
[
/Pattern/DeviceRGB
]
endobj
5 0 obj
<<
/Type/Page
/Parent 2 0 R
/Contents 16 0 R
/Resources 17 0 R
/Annots 18 0 R
/MediaBox[0 0 596 842]
/Group
<<
/CS/DeviceRGB
/S/Transparency
>>
>>
endobj
6 0 obj
<<
/Type/Font
/Subtype/Type0
/BaseFont/ArialUnicodeMSRegular
/Encoding/Identity-H
/DescendantFonts[640 0 R]/ToUnicode 641 0 R
```

{% endtab %}
{% endtabs %}

### Business Results

## Save Business's Result as PDF

<mark style="color:blue;">`GET`</mark> `https://okaydbdemo.innov8tif.com/ekyc/api/aml/v2/business/pdf/{{resourceId}}?apiKey={{apiKey}}`

#### Query Parameters

| Name                                     | Type   | Description                 |
| ---------------------------------------- | ------ | --------------------------- |
| apiKey<mark style="color:red;">\*</mark> | string | To be assigned by innov8tif |

{% tabs %}
{% tab title="200 Save the content as PDF file" %}

```
%PDF-1.4
%����
1 0 obj
<<
/Title<FEFF0042007500730069006E006500730073002000640065007400610069006C0073>
/Creator<FEFF0077006B00680074006D006C0074006F00700064006600200030002E00310032002E0034>
/Producer(PDFsharp 1.50.4845 \(www.pdfsharp.com\) \(Original: Qt 4.8.7\))
/CreationDate(D:20210813074534+01'00')
/ModDate(D:20210813074535+01'00')
>>
endobj
2 0 obj
<<
/Type/Pages
/Kids[5 0 R 21 0 R 30 0 R]
/Count 3
/ProcSet[/PDF/Text/ImageB/ImageC]
>>
endobj
3 0 obj
<<
/Type/ExtGState
/SA true
/SM 0.02
/ca 1
/CA 1
/AIS false
/SMask/None
>>
endobj
4 0 obj
[
/Pattern/DeviceRGB
]
endobj
5 0 obj
<<
/Type/Page
/Parent 2 0 R
/Contents 18 0 R
/Resources 19 0 R
/Annots 20 0 R
/MediaBox[0 0 596 842]
/Group
<<
/CS/DeviceRGB
/S/Transparency
>>
>>
endobj
6 0 obj
<<
/Type/Font
/Subtype/Type0
/BaseFont/ArialUnicodeMSRegular
/Encoding/Identity-H
/DescendantFonts[45 0 R]
/ToUnicode 46 0 R
>>
endobj
7 0 obj
<<
/Type/XObject
/Subtype/Image
/Width 98
/Height 105
/BitsPerComponent 8
/ColorSpace/DeviceGray
/Length 1670
/Filter/FlateDecode
>>
stream
x��Z{PTU>�. #I��a%��B����LM���|�VN���i��P��I�3�i�qP''�G&)"�X�0�Y(j"���v��������e���g���w���9�.
```

{% endtab %}
{% endtabs %}

## Version 1 *<mark style="color:orange;">(Deprecated)</mark>*

### Person's Result

## Save Person's Result as PDF

<mark style="color:blue;">`GET`</mark> `https://okaydbdemo.innov8tif.com/ekyc/api/aml/v1/person/pdf/{{person_id}}?apiKey={{apikey}}`

#### Query Parameters

| Name                                     | Type   | Description                 |
| ---------------------------------------- | ------ | --------------------------- |
| apiKey<mark style="color:red;">\*</mark> | string | To be assigned by innov8tif |

{% tabs %}
{% tab title="200 Save the context as PDF file" %}

```
%PDF-1.4
%����
1 0 obj
<<
/Title<FEFF0050006500720073006F006E002000640065007400610069006C0073>
/Creator<FEFF0077006B00680074006D006C0074006F00700064006600200030002E00310032002E0034>
/Producer(PDFsharp 1.50.4845 \(www.pdfsharp.com\) \(Original: Qt 4.8.7\))
/CreationDate(D:20210813072750+01'00')
/ModDate(D:20210813072751+01'00')
>>
endobj
2 0 obj
<<
/Type/Pages
/Kids[5 0 R 19 0 R 25 0 R 30 0 R 34 0 R 38 0 R 42 0 R 46 0 R 50 0 R 54 0 R 58 0 R 62 0 R 66 0 R 70 0 R 79 0 R 88 0 R 99 0 R 109 0 R 119 0 R 129 0 R 139 0 R 148 0 R 157 0 R 166 0 R 175 0 R 184 0 R 192 0 R 202 0 R 211 0 R 221 0 R 231 0 R 240 0 R 249 0 R 258 0 R 267 0 R 276 0 R 287 0 R 297 0 R 306 0 R 315 0 R 324 0 R 334 0 R 344 0 R 352 0 R 361 0 R 369 0 R 376 0 R 386 0 R 396 0 R 406 0 R 414 0 R 421 0 R 427 0 R 437 0 R 447 0 R 456 0 R 467 0 R 478 0 R 487 0 R 495 0 R 506 0 R 519 0 R 528 0 R 538 0 R 550 0 R 559 0 R 571 0 R 581 0 R 589 0 R 599 0 R 609 0 R 621 0 R 628 0 R]
/Count 73
/ProcSet[/PDF/Text/ImageB/ImageC]
>>
endobj
3 0 obj
<<
/Type/ExtGState
/SA true
/SM 0.02
/ca 1
/CA 1
/AIS false
/SMask/None
>>
endobj
4 0 obj
[
/Pattern/DeviceRGB
]
endobj
5 0 obj
<<
/Type/Page
/Parent 2 0 R
/Contents 16 0 R
/Resources 17 0 R
/Annots 18 0 R
/MediaBox[0 0 596 842]
/Group
<<
/CS/DeviceRGB
/S/Transparency
>>
>>
endobj
6 0 obj
<<
/Type/Font
/Subtype/Type0
/BaseFont/ArialUnicodeMSRegular
/Encoding/Identity-H
/DescendantFonts[640 0 R]
/ToUnicode 641 0 R
```

{% endtab %}
{% endtabs %}

### Business Results

## Save Business's Result as PDF

<mark style="color:blue;">`GET`</mark> `https://okaydbdemo.innov8tif.com/ekyc/api/aml/v1/business/pdf/{{business_id}}?apiKey={{apikey}}`

#### Query Parameters

| Name                                     | Type   | Description                 |
| ---------------------------------------- | ------ | --------------------------- |
| apiKey<mark style="color:red;">\*</mark> | string | To be assigned by innov8tif |

{% tabs %}
{% tab title="200 Save the content as PDF file" %}

```
%PDF-1.4
%����
1 0 obj
<<
/Title<FEFF0042007500730069006E006500730073002000640065007400610069006C0073>
/Creator<FEFF0077006B00680074006D006C0074006F00700064006600200030002E00310032002E0034>
/Producer(PDFsharp 1.50.4845 \(www.pdfsharp.com\) \(Original: Qt 4.8.7\))
/CreationDate(D:20210813074534+01'00')
/ModDate(D:20210813074535+01'00')
>>
endobj
2 0 obj
<<
/Type/Pages
/Kids[5 0 R 21 0 R 30 0 R]
/Count 3
/ProcSet[/PDF/Text/ImageB/ImageC]
>>
endobj
3 0 obj
<<
/Type/ExtGState
/SA true
/SM 0.02
/ca 1
/CA 1
/AIS false
/SMask/None
>>
endobj
4 0 obj
[
/Pattern/DeviceRGB
]
endobj
5 0 obj
<<
/Type/Page
/Parent 2 0 R
/Contents 18 0 R
/Resources 19 0 R
/Annots 20 0 R
/MediaBox[0 0 596 842]
/Group
<<
/CS/DeviceRGB
/S/Transparency
>>
>>
endobj
6 0 obj
<<
/Type/Font
/Subtype/Type0
/BaseFont/ArialUnicodeMSRegular
/Encoding/Identity-H
/DescendantFonts[45 0 R]
/ToUnicode 46 0 R
>>
endobj
7 0 obj
<<
/Type/XObject
/Subtype/Image
/Width 98
/Height 105
/BitsPerComponent 8
/ColorSpace/DeviceGray
/Length 1670
/Filter/FlateDecode
>>
stream
x��Z{PTU>�. #I��a%��B����LM���|�VN���i��P��I�3�i�qP''�G&)"�X�0�Y(j"���v��������e���g���w���9�.
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://api2-ekycapis.innov8tif.com/okaydb/okaydb-all/aml-search/save-result-as-pdf/versions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
