Choose a company
Updated date: 30/04/2023
Updated by: VNPT eContract's team
Purpose
Select a company and retrieve the token information to access authenticated APIs.
- Request URL:
api/auth/choose-company
- HTTP method:
POST
- HTTP content-type:
application/json
- Parameter:
Key | Type | Description |
---|---|---|
comId | int | [Required] Id of company |
Sample request
{
"comId": 668
}
Sample response body
{
"data": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"success": true,
"code": 200,
"messages": [
"Choose company success"
]
}