Odessa Content Sharing  





  Register now   Forgot password ?

GetPackDetails

Get the details of package by id

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

[
    {             
        "pack_id":"7",
        "include_images":"1",
        "include_bidders":"1",
        "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_images":[{"id":"1","pack_id":"7","user_id":"6","pack_img":"5BE16C56-4DC3-438A-86C6-2A97695BBDFC2017042012500.png","inserted_date":"2017-04-20 12:50:32","img_type":"1","is_default":"1","img_type_name":"Package image"},{"id":"2","pack_id":"7","user_id":"6","pack_img":"A41EC923-734D-4105-9B6E-23592FFAA7962017042012500.png","inserted_date":"2017-04-20 12:50:36","img_type":"1","is_default":"0","img_type_name":"Package image"},{"id":"3","pack_id":"7","user_id":"6","pack_img":"3468DDE0-9D93-4071-9D6E-0DA2B79FC1CB2017042012500.png","inserted_date":"2017-04-20 12:50:48","img_type":"1","is_default":"0","img_type_name":"Package image"},{"id":"4","pack_id":"7","user_id":"6","pack_img":"5CD15ECD-9FAB-4AEF-A850-D4370D998EA72017042012500.png","inserted_date":"2017-04-20 12:50:49","img_type":"1","is_default":"0","img_type_name":"Package image"},{"id":"5","pack_id":"7","user_id":"6","pack_img":"0A6E7086-332F-4D61-B5F4-97AF70EF200B2017042012500.png","inserted_date":"2017-04-20 12:50:49","img_type":"1","is_default":"0","img_type_name":"Package image"},{"id":"7","pack_id":"7","user_id":"52","pack_img":"EAE91F9D-AA16-42E8-8A13-835062036A402017042014020.png","inserted_date":null,"img_type":"2","is_default":"0","img_type_name":"Package delivery image"},{"id":"8","pack_id":"7","user_id":"52","pack_img":"7EE538DB-85A9-418E-928E-7A9136D184AC2017042014020.png","inserted_date":null,"img_type":"2","is_default":"0","img_type_name":"Package delivery image"},{"id":"9","pack_id":"7","user_id":"52","pack_img":"F55255BE-3A24-4504-ADC5-0089E2251FE72017042014020.png","inserted_date":null,"img_type":"2","is_default":"0","img_type_name":"Package delivery image"},{"id":"10","pack_id":"7","user_id":"52","pack_img":"62E060E1-053A-4703-B1BA-3332C8F3F7B52017042014020.png","inserted_date":null,"img_type":"2","is_default":"0","img_type_name":"Package delivery image"},{"id":"11","pack_id":"7","user_id":"52","pack_img":"A09AAF65-F08B-4E5D-8957-2B171889A3482017042014020.png","inserted_date":null,"img_type":"2","is_default":"0","img_type_name":"Package delivery image"}],"pack_bidders":[{"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"},{"pack_id":"7","bidder_id":"6","bid_date":"2017-04-13 18:39:46","accept_status":"20","accepted_date":"2017-04-20 13:51:52","bid_text":"Men apararam","reason_type":null,"reason_id":null,"reason_text":null,"courier_name":"Anar","courier_surname":"Mamedov","courier_cell":"+994003001229","courier_email":"611111111111111111","accept_status_text":"Declined","reason_template_text":null}]}]}