URL: https://api.stringeex.com/v1/company
HTTP method: POST
Content-Type: application/json
Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication
POST data (body):
{
"name": "A JSC",
"about": "cty chuyen ve tong dai"
}
Response:
{
"id": "ac_53260tkuv8hy4tn7",
"r": 0,
"msg": "Success"
}
URL: https://api.stringeex.com/v1/company/com_952dg1ihrq7k2ubc
HTTP method: PUT
Content-Type: application/json
Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication
PUT data (body):
{
"name": "B",
"about": "C"
}
Response:
{
"r": 0,
"msg": "Success"
}
URL: https://api.stringeex.com/v1/company/com_952dg1ihrq7k2ubc
HTTP method: DELETE
Content-Type: application/json
Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication
Response:
{
"r": 0,
"msg": "Delete success"
}
URL: https://api.stringeex.com/v1/company?limit=2&page=1&name=ca&id=&sort_by=created&sort_order=desc
HTTP method: GET
Content-Type: application/json
Custom HTTP header: Name: X-STRINGEE-AUTH Value: JSON web token (JWT), see StringeeX API REST Authentication