247API
English
English
  • Getting Started
  • Change Log
  • Support
  • About 247Express
  • 247Express API NPM Package
  • Customer
    • Header Request
    • Shipment Pick-up and Delivery Workflow
    • Main services
    • Value-added services
    • List of ClientHubs
    • Update Order
    • Cancel order
    • Get delivered pictures
    • Pricing
    • Create an order
    • Create client hub
    • Update client hub
    • Feedback
  • SSO
    • SSO - Login
  • Tracking
    • Order Tracking
  • Webhooks
    • Update status
    • Status update log
Powered by GitBook
On this page
  • SSO - Login
  • Example

Was this helpful?

  1. SSO

SSO - Login

Instructions for using the login API

SSO - Login

POST /api/Client/ClientLogin

NOTE: Please use the account provided by 247

Headers

Name
Type
Description

Content-Type

string

Content Type

Request Body

Name
Type
Description

UserName

string

UserName

Password

string

Password

Mẫu ví dụ khi đăng nhập thành công: 
{   
    "ClientID": 2876,
    "ClientName": "Lê Thanh Tùng",
    "Token": "e93e4ad62b8b35d5361bb12f2de77330e834ac0a1e6a6fa39f4c920d0646e198",
    "Errors": [],
    "ErrorMessage": ""
}

Mẫu ví dụ khi đăng nhập không thành công:
{
    "ClientID": 0,
    "ClientName": null,
    "Token": null,
    "Errors": [
        {
            "ErrorMessage": "Tên tài khoản hoặc mật khẩu không đúng!",
            "PropertyName": null
        }
    ],
    "ErrorMessage": " | Tên tài khoản hoặc mật khẩu không đúng! | Tên tài khoản hoặc mật khẩu không đúng! | Tên tài khoản hoặc mật khẩu không đúng!"
}

Example

{
      "UserName": "TXN-KH18-0059",
      "Password": "456123@"
}
PreviousFeedbackNextOrder Tracking

Was this helpful?