User Tools

Site Tools


api:porting:get-document

API : Porting Get Document

Introduction

This request will return a specific porting document.

Request

URL https://api.telecomx.dk/porting/PORTING-ID/document/FILE-ID
Method GET
Access level OWNER, RESELLER, RESELLER_ADMIN with PORTING feature or ADMIN.
Param PORTING-ID Id of the porting
FILE-ID Id of the document to return
Query forcedownload True to force a download, false will open document in browser.

Query example

https://api.telecomx.dk/porting/12345678901234567890ABCD/document/12345678901234567890AAAA

Response

Binary data - the document requested, probably a PDF.

Example

N/A

Errors

Error code Message Description
404 file File not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/porting/get-document.txt · Last modified: 2026/05/21 20:06 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki