API V2

Perbarui anotasi hiperlink

  • Method: POST
  • Endpoint: /api/v2/UpdateHyperlinkAnnotation

Parameter

docNamestring, Required

Nama file.

docContentbase64, Required

Konten dari file input

Update Hyperlinks Annotation List
SearchOnstring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Teks

SearchValuestring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Contoh 1

IsExpressionboolean, Required
Default: true

Anda dapat memilih salah satu dari dua nilai -

  • true
  • false
TextCurrentValuestring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Contoh 1

TextNewValuestring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Contoh 2

URLCurrentValuestring, Required

Contoh - http://:www.google.com

URLNewValuestring, Required

Contoh - www.pdf4me.com

SearchOnstring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Teks

SearchValuestring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Contoh 2

IsExpressionboolean, Required
Default: true

Anda dapat memilih salah satu dari dua nilai -

  • true
  • false
TextCurrentValuestring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Contoh 2

TextNewValuestring, Required

Anda dapat mengambil nilai apa saja, tetapi harus berupa string.
Contoh - Contoh 1

URLCurrentValuestring, Required

Contoh - www.pdf4me.com

URLNewValuestring, Required

Contoh - http://:www.google.com

Output

Konten dari berkasBinary

Header
Content-Type:application/json
Authorization: Silakan salin kunci API dari link.

Payload

{
  "docName": "output.pdf",
  "docContent": "",
  "updatehyperlinkannotationlist": [
    {
      "SearchOn": "Text",
      "SearchValue": "Example 1",
      "IsExpression": true,
      "TextCurrentValue": "Example 1",
      "TextNewValue": "Example 2",
      "URLCurrentValue": "http://:www.google.com/",
      "URLNewValue": "www.pdf4me.com"
    },
    {
      "SearchOn": "Text",
      "SearchValue": "Example 2",
      "IsExpression": true,
      "TextCurrentValue": "Example 2",
      "TextNewValue": "Example 1",
      "URLCurrentValue": "www.pdf4me.com",
      "URLNewValue": "www.google.com"
    }
  ]
}

Contoh API PDF4me

CSharp(C#)
Java
JavaScript
Python
Salesforce
n8n
Google Script
AWS Lambda