0% found this document useful (0 votes)
24 views6 pages

Kebutuhan API Mobile External Labda

Uploaded by

dontodede
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views6 pages

Kebutuhan API Mobile External Labda

Uploaded by

dontodede
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Menggunakan Postman

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."
}
}
}

4. API Forgot Password


Link: http://sit-late.budijayagroup.com/api/Account/ForgotPassword
- Method : GET
- Parameter : APISecretKey, UserName
- Response sukses :
{
"api": {
"status": {
"code": 200,
"description": "OK"
},
"results": {
"Password": "",
}
}
}
- Response gagal :
{
"api": {
"status": {
"code": 400,
"description": "Invalid key."
}
}
}
////
{
"api": {
"status": {
"code": 400,
"description": "Invalid MobileNumber."
}
}
}
5. API Laporan Outstanding Detail
- Method : GET
- Parameter : APISecretKey, NoHandphone,IdSalesOrder,IdJenisKain
- Response sukses : {data laporan}
- Response gagal : False
6. API Laporan Outstanding Rekap
- Method : GET
- Parameter : APISecretKey, NoHandphone
- Response sukses : {data laporan}
- Response gagal : False
7. API List SalesOrder
- Method : GET
- Parameter : APISecretKey, NoHandphone
- Response sukses : {data list sales order}
- Response gagal : False
8. API List SalesOrder Jenis Kain
- Method : GET
- Parameter : APISecretKey, NoHandphone, IdSalesOrder
- Response sukses : {data list jenis kain}
- Response gagal : False

9. API Laporan Piutang Rekap


- Method : GET
- Parameter : APISecretKey, NoHandphone
- Response sukses : {data laporan}
- Response gagal : False
10. API Laporan Kartu Piutang
- Method : GET
- Parameter : APISecretKey, NoHandphone, IdSalesOrder
- Response sukses : {data laporan}
- Response gagal : False

You might also like