ok

Mini Shell

Direktori : /home2/selectio/www/thecomponents.in/admin/delivery-boy/api/
Upload File :
Current File : /home2/selectio/www/thecomponents.in/admin/delivery-boy/api/api-v1-docs.txt

API URL -->> 
	https://admin.panel.url/delivery-boy/api/api-v1.php

----------------------------------------------------------
APIs list 
----------------------------------------------------------

1. login
2. get_delivery_boy_by_id  
3. get_orders_by_delivery_boy_id
4. get_fund_transfers 
5. update_delivery_boy_profile
6. update_order_status
7. delivery_boy_forgot_password
8. get_notifications
9. update_delivery_boy_fcm_id
10. check_delivery_boy_by_mobile
11. send_withdrawal_request
12. get_withdrawal_requests
13. update_delivery_boy_is_available

------------------------------------------
What parameters to be Passed?  See here >>
------------------------------------------

Use POST method to pass the parameters

1. login
    	accesskey:90336
        mobile:9876543210
        password:1234567
        fcm_id:YOUR_FCM_ID
        login:1

2. get_delivery_boy_by_id
    	accesskey:90336
        id:78
        get_delivery_boy_by_id:1
    
3.get_orders_by_delivery_boy_id
        accesskey:90336
        id:40        // {optional}          
        order_id:1001        // {optional}  
        offset:0        // {optional}
        limit:10        // {optional}
        sort:id / user_id           // {optional}
        order:DESC / ASC            // {optional}
        search:search_value         // {optional}
        filter_order:filter_order_status         // {optional} 
        get_orders_by_delivery_boy_id:1
    
4. get_fund_transfers
        accesskey:90336
        id:82
        offset:0        // {optional}
        limit:10        // {optional}
        sort:id           // {optional}
        order:DESC / ASC            // {optional}
        search:search_value         // {optional}
        get_fund_transfers:1
    
5. update_delivery_boy_profile
        accesskey:90336
        id:87
        name:any value       
        address:Jl Komplek Polri 
        dob:1992-07-07
        bank_name:SBI
        account_number: 12345678976543
        account_name: any value
        ifsc_code:ASDFGH45
        new_driving_license: image_file  { jpg, png, gif, jpeg }
        new_national_identity_card: image_file  { jpg, png, gif, jpeg }
        other_payment_info: value   // {optional}
        old_password:        // {optional}
        update_password:        // {optional}
        confirm_password:        // {optional}
        update_delivery_boy_profile:1
        
6. update_order_status
        accesskey:90336
    	update_order_status:1
    	id:26
    	status:cancelled
    	delivery_boy_id:40
	
7. delivery_boy_forgot_password
        accesskey:90336
    	mobile:8989898989
    	password:1234567
    	delivery_boy_forgot_password:1

8. get_notifications
        accesskey:90336
        id:114
        offset:0        // {optional}
        limit:10        // {optional}
        sort:id           // {optional}
        order:DESC / ASC            // {optional}
        search:search_value         // {optional}
        get_notifications:1
    
9. update_delivery_boy_fcm_id
        accesskey:90336
        id:114
        fcm_id:YOUR_FCM_ID
        update_delivery_boy_fcm_id:1
    
10. check_delivery_boy_by_mobile
        accesskey:90336
    	mobile:8989898989
    	check_delivery_boy_by_mobile:1

11.send_withdrawal_request
        accesskey:90336
        send_withdrawal_request:1
        type:user/delivery_boy
        type_id:3
        amount:1000
        message:Message {optional}

12.get_withdrawal_requests
        accesskey:90336
        get_withdrawal_requests:1
	    type:user/delivery_boy
        data_type:withdrawal_requests / fund_transfers  {optional}
        type_id:3
        offset:0 {optional}
        limit:5 {optional}
        sort:id          {optional}
        order:DESC / ASC           {optional}

13.update_delivery_boy_is_available
    accesskey:90336
    update_delivery_boy_is_available:1
    delivery_boy_id:40
    is_available:0 OR 1

Zerion Mini Shell 1.0