Kebutuhan API Mobile External Labda
Kebutuhan API Mobile External Labda
https://www.postman.com/
APISecretKey : “e2248ccb8bf34b73a776cebb120746e2htk”
1. API Validasi Login
Link: http://sit-late.budijayagroup.com/api/Account/Login
- Method: POST
- Parameter: APISecretKey, UserName, Password, RememberMe
- Response sukses :
{
"api": {
"status": {
"code": 200,
"description": "OK"
},
"results": {
"Name": "",
"CompanyName": "",
"BillingAddress": "",
"PostCode": "",
"City": "",
"Province": "",
"Email": "",
"Province": "",
"TaxNumber": "",
"MobileNumber": "",
"PhoneNumber": "",
"FaxNumber": "",
"OtherDetails": "",
}
}
}
- Response gagal :
{
"api": {
"status": {
"code": 400,
"description": "Invalid key."
}
}
}
///
{
"api": {
"status": {
"code": 400,
"description": "Invalid password."
}
}
}
////
{
"api": {
"status": {
"code": 400,
"description": "Invalid MobileNumber."
}
}
}
2. API Registrasi User
Link: http://sit-late.budijayagroup.com/api/Account/Register
- Method: POST
- Parameter: APISecretKey, UserName
- Response sukses:
{
"api": {
"status": {
"code": 200,
"description": "OK"
},
"results": {
"Name": "",
"CompanyName": "",
"BillingAddress": "",
"PostCode": "",
"City": "",
"Province": "",
"Email": "",
"Province": "",
"TaxNumber": "",
"MobileNumber": "",
"PhoneNumber": "",
"FaxNumber": "",
"OtherDetails": "",
"Password": "",
}
}
}
- Response gagal :
{
"api": {
"status": {
"code": 400,
"description": "Invalid key."
}
}
}
////
{
"api": {
"status": {
"code": 400,
"description": "Invalid MobileNumber."
}
}
}
3. API Changes Password
- Link: http://sit-late.budijayagroup.com/api/Account/ChangePassword
- Method : POST
- Parameter : APISecretKey, UserName, OldPassword, NewPassword
- Response sukses :
{
"api": {
"status": {
"code": 200,
"description": "OK"
}
}
}
- Response gagal :
{
"api": {
"status": {
"code": 400,
"description": "Invalid key."
}
}
}
////
{
"api": {
"status": {
"code": 400,
"description": "Invalid MobileNumber."
}
}
}
////
{
"api": {
"status": {
"code": 400,
"description": "Invalid Old Password."
}
}
}