Download

GET https://ppk.geodnet.com/api/download/:orderId

Path Param

Parameter
Example
Type
Required
Description

orderId

123826

String

Yes

Order No.

Request Header

Header
Example
Type
Required
Description

token

eyJhbGciOiJIUzI1Ni...

String

Yes

JWT from sign in

Response Body application/json

When request is abnormal (e.g., invalid orderId or not completed), a JSON is returned:

Parameter
Example
Type
Description

code

304

Number

Error code, see status code list

message

The download task has not been completed

String

Error description

Normal success: returns a ZIP file stream (no JSON body).

Request Example

https://ppk.geodnet.com/api/download/123826

cURL

curl -L "https://ppk.geodnet.com/api/download/123826" \
  -H "token: eyJhbGciOiJIUzI1Ni..." \
  -o "geodnet_123826.zip"

Response

If parameters are valid and the order is completed, the response is a ZIP file stream.

If the request is abnormal (e.g., invalid orderId, not completed), the response is JSON with error code/message.

Last updated