Odessa Content Sharing  





  Register now   Forgot password ?

UpdatePack_GenInfo - Create pet

Step 2 B : Updating General information of pet

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

//send_cat_id = dictionary : pack_types
pack_options_id = dictionary : pet_options
pack_size_id = dictionary : pack_sizes

pet_type = dictionary : pet_types
pet_is_vac : dictionary : yes_no

[
    {     
        "pack_id" : "10",
        "send_name" : "new pack 1",    
        "pet_type" : "3",
        "pet_count" : "2",
        "pet_is_vac" : "1",        
        "pack_size_id" : "2",
        "pack_options_id" : "4",
        "pack_weight" : "32",
        "item_value" : "400",
        "desc_text" : "my new package",
        "receiver_name" : "Anar Mamedov",
        "receiver_phone_number" : "00393993",
        "log_session_key" : "CCC4C0C0-9426-4408-B229-14C80B23E3D92017032923210",
        "log_device_id"   : "deviceid123",
        "log_user_argent" : "Firefox",
        "log_device_type" : "APPLE_PHONE"        
    }
]

{"code":"0","inserted_id":-1,"details":[]}