Connect to Nhat Tin Logistics.
API for platforms connect to NTL.
API Configuration
HTTP Request
POST v1/auth/sign-in
No. | Parameter | Type | Require | Description |
---|---|---|---|---|
1 | username | String | Email or phone of partner (Partner of Nhat Tin) | |
1 | password | String | Password of partner (Partner of Nhat Tin) | |
2 | partner_id | Int | Partner ID, that created on Web portal |
JSON body respone
Name | Type | Description |
---|---|---|
success | boolean | Return true if connect success, all other false means error. See message for further description. |
message | string | Return Message of API Respond. |
data | object | Data of API response. |
Sample Request
{
"username": "0382746295",
"password": "Nkwqbekd8@",
"partner_id": 132042
}
Sample Response
{
"success": true,
"messsage": "",
"data":{
"partner_id": 3,
"partner_name": "Nhat Tin"
}