Create download order

POST https://ppk.geodnet.com/api/user/download

Request Body application/json

Parameter
Example
Type
Required
Description

startYear

2024

Number

Yes

Year start

startMonth

6

Number

Yes

Month start

startDay

22

Number

Yes

Day start

startHour

0

Number

Yes

Hour start

endYear

2024

Number

Yes

Year end

endMonth

6

Number

Yes

Month end

endDay

23

Number

Yes

Day end

endHour

0

Number

Yes

Hour end

stations

["G001"]

Array

Yes

Station list

type

2

Number

No

Default all; 1: All, 2: 30 second

Response Body application/json

Parameter
Example
Type
Description

code

200

Number

Status code

message

Success

String

Status code description

data.orderId

667bebbe9f32c8ef2dd4643f

String

Order No.

Request ExampleJSON

{
  "startYear": 2024,
  "startMonth": 6,
  "startDay": 22,
  "startHour": 0,
  "endYear": 2024,
  "endMonth": 6,
  "endDay": 23,
  "endHour": 0,
  "stations": ["G001"],
  "type": 2
}

cURL

curl -X POST "https://ppk.geodnet.com/api/user/download" \
  -H "Content-Type: application/json" \
  -H "token: eyJhbGciOiJIUzI1Ni..." \
  -d '{
    "startYear": 2024,
    "startMonth": 6,
    "startDay": 22,
    "startHour": 0,
    "endYear": 2024,
    "endMonth": 6,
    "endDay": 23,
    "endHour": 0,
    "stations": ["G001"],
    "type": 2
  }'

Response200 Success

{
  "code": 200,
  "message": "Success",
  "data": {
    "orderId": "667bebbe9f32c8ef2dd4643f"
  }
}

Last updated