api:internet:account:downloaddocument
Table of Contents
API : Internet Access Account - download document
Introduction
This request is used to download/get/show a document on the Internet Access account.
Request
| URL | https://api.telecomx.dk/internet/account/ACCOUNT_ID/document/DOCUMENT_ID | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER or OWNER if user belongs to the customer. RESELLER if customer belongs to the reseller. ADMIN. |
|
| Params | ACCOUNT_ID | Id of Internet Access account the document belongs to. |
| DOCUMENT_ID | Id of the document. | |
| Query | forcedownload | True to enforce download and not view in browser. |
Request example
https://api.telecomx.dk/internet/account/12345678901234567890ABCD/document/12345678901234567890AAAA
Response
Binary data.
Example
N/A
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | bad_request | Id not found in request URI |
| 404 | not_found | Account not found |
| 404 | document | Document not found |
| 500 | internal_error | File not found in database |
| 500 | internal_error | <unspecified> |
api/internet/account/downloaddocument.txt · Last modified: 2018/09/25 08:41 by Per Møller