Odessa Content Sharing  





  Register now   Forgot password ?

CourierGetCompletedPacks

Courier Tab 2 : get the list of completed packages

http://localhost/CheapSender/webservices/?service=CourierGetCompletedPacks

[
    {             
        "start" : "0",
        "count" : "100",
        "log_session_key" : "D6ECEF2F-ACB6-41EA-8914-12234CAA35622017040121490",
        "log_device_id"   : "deviceid123",
        "log_user_argent" : "Firefox",
        "log_device_type" : "APPLE_PHONE"        
    }
]

{"code":"0","data":[{"id":"7","send_name":"new pack 1","send_cat_id":"2","pack_size_id":"2","pack_options_id":"4","pack_weight":"32","pet_type":null,"pet_count":null,"pet_is_vac":null,"item_value":"400.00","desc_text":"my new package","pack_from_lat":"18272.3329920000","pack_from_lng":"456456.1232340000","pack_from_text":"new york","pack_to_lat":"2342.2342000000","pack_to_lng":"1233.2323000000","pack_to_text":"baku","distance":"188.00","distance_time":null,"taken_time":"2017-04-17 15:32:00","taken_type":"400","taken_asap":"0","taken_bring_type":"0","delivery_time":"15:32:00","delivery_type":"400","delivery_asap":"0","delivery_take_type":"Anar Mamedov","receiver_name":"Anar Mamedov","receiver_phone_number":"00393993","leave_by_door":"1","pack_price":"90.45","insurance_price":"0.00","is_insurance_payed":"1","insurance_mode":"1","pack_status":"20","pack_owner_id":"6","inserted_by":"51","inserted_date":"2017-04-20 10:50:52","updated_by":null,"updated_date":null,"accepted_courier_id":"52","sender_paid":"1","courier_paid":null,"send_cat_text":"Package","pack_options_text":"Fit in A4 pack","pack_size_text":"Medium","pet_type_text":null,"pet_is_vac_text":null,"taken_type_text":null,"taken_asap_text":"Not urgent","taken_bring_type_text":"I can't bring pack to the airport, train or railway station","delivery_type_text":null,"delivery_asap_text":"Not urgent","delivery_bring_type_text":"I can't bring pack to the airport, train or railway station","leave_by_door_text":"Yes","pack_owner_name":"Anar","pack_owner_surname":"Mamedov","pack_owner_cell":"+994003001229","pack_owner_email":"611111111111111111","accepted_courier_name":"Anarcik","accepted_courier_surname":"Mamedbeyli","accepted_courier_cell":"098383873","accepted_courier_email":"Azerbaijan !","status_sender":"Courier selected, in delivery process","status_courier":"Courier selected","pack_img":"5BE16C56-4DC3-438A-86C6-2A97695BBDFC2017042012500.png","img_id":"1","img_type_name":"Package image","pack_id":"7","bidder_id":"52","bid_date":"2017-04-20 13:38:38","accept_status":"10","accepted_date":"2017-04-20 13:47:44","bid_text":"Hello , I am ready to deliver sir !","reason_type":"11","reason_id":"1","reason_text":"some reason 2","courier_name":"Anarcik","courier_surname":"Mamedbeyli","courier_cell":"098383873","courier_email":"Azerbaijan !","accept_status_text":"Accepted","reason_template_text":"Personal reason"}]}