header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params
DocumentType
string
required
ประเภทเอกสาร จะต้องระบุเป็นประเภท pdf หรือ xml เท่านั้น
DoucumentId
string
required
รหัสเอกสาร คือ DocumentNo ตัวอย่าง 123456789AB
Header Params
Ocp-Apim-Subscription-Key
string
required
รหัส subscription key ของลูกค้า
Authorization
string
required
OAuth token obtained after the user has provided consent and the authorized partner calls the /authorization/Connect/Token endpoint to retrieve this token
Content-Type
string
required
Content type of request payload Value:
application/json
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://api.gofive.co.th/etaxgo/Documents/Download//' \
--header'Ocp-Apim-Subscription-Key;' \
--header'Authorization;'