GKE OPEN API
  1. Basic Module
GKE OPEN API
  • Integration Guide
  • Basic Module
    • Get Token
      POST
    • Get Service List
      GET
    • PCCC Query
      POST
  • Waybill Module
    • Create Order
    • Print Label
    • Query Order
    • Cancel Order
    • Intercept Order
    • Cancel Intercept
    • Order Confirm
    • Update Weight
    • Update Label
    • Get POD
    • Query Charges
    • Query Order Track
  • Container & Batche
    • Create Container
    • Cancel Container
    • Print Container label
    • Scan Form
    • Get Scan Form Result
    • Manifest
    • Get Manifest Result
    • Update Flight info
  • Other materials
    • Waybill Tracking Nodes and Status Description
  1. Basic Module

Get Token

POST
auth/login/
Obtain a 24-hour valid token using your account and password.
Return to guide

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Example
{
    "username": "{{username}}",
    "password": "{{password}}"
}

Request Code Samples

Shell
HTTP
Python
Java
PHP
Go
C
C#
JavaScript
Swift
Dart
Objective-C
Ruby
OCaml
R
Request Request Example
Shell
HTTP
Python
Java
curl --location --request POST 'auth/login/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "username": "{{username}}",
    "password": "{{password}}"
}'

Responses

๐ŸŸข200OK
application/json
Body

Examples
{
    "code": 200,
    "success": true,
    "detail": "success",
    "data": {
        "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzY3NzY3ODAyLCJpYXQiOjE3Njc2ODE0MDIsImp0aSI6ImNmNmQ0MjM2MDNiMzQxNmI5OTViYmUyYjZmMGU5ZDhlIiwidXNlcl9pZCI6MTA5fQ.Rr1tTXDUz35s8fyAiGW8P9rjerYk4RPIHDA3VP2QwpQ"
    }
}
๐ŸŸ 400Bad Request
๐ŸŸ 401Unauthorized
๐ŸŸ 404Not Found
๐Ÿ”ด500Internal Server Error
Previous
Integration Guide
Next
Get Service List