{"action":"created","issue":{"url":"https://api.github.com/repos/chirag7jain/bluedart/issues/1","repository_url":"https://api.github.com/repos/chirag7jain/bluedart","labels_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/1/comments","events_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/1/events","html_url":"https://github.com/chirag7jain/bluedart/issues/1","id":151556291,"number":1,"title":"shipping api always responds with an error","user":{"login":"palak07","id":7849470,"avatar_url":"https://avatars.githubusercontent.com/u/7849470?v=3","gravatar_id":"","url":"https://api.github.com/users/palak07","html_url":"https://github.com/palak07","followers_url":"https://api.github.com/users/palak07/followers","following_url":"https://api.github.com/users/palak07/following{/other_user}","gists_url":"https://api.github.com/users/palak07/gists{/gist_id}","starred_url":"https://api.github.com/users/palak07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palak07/subscriptions","organizations_url":"https://api.github.com/users/palak07/orgs","repos_url":"https://api.github.com/users/palak07/repos","events_url":"https://api.github.com/users/palak07/events{/privacy}","received_events_url":"https://api.github.com/users/palak07/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-28T06:03:42Z","updated_at":"2016-04-28T06:45:18Z","closed_at":null,"body":"@chirag7jain  look into this ! \r\n\r\n\r\n{:error=>true, :error_text=>{:code=>{:value=>\"s:Sender\", :subcode=>{:value=>\"a:DeserializationFailed\"}}, :reason=>{:text=>\"The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:Request. The InnerException message was 'There was an error deserializing the object of type SAPI.Entities.WayBillGeneration.WayBillGenerationRequest. The value '' cannot be parsed as the type 'double'.'.  Please see InnerException for more details.\"}}}\r\n\r\n\r\nmy code is here : \r\nshipment_details = {mode: \"development\"}\r\n     \r\nshipment_details[:creds] = {license_key: \"xyz\", login_id: \"xyz\"}\r\n      \r\nshipment_details[:shipper_details] = {customer_code:111, customer_name: \"J Bieber\", address: \"ABC ABC\", customer_pincode:\"400086\",customer_telephone: 123123, customer_mobile:9594964558,  customer_email_id:\"someone@me.com\", sender:\"bla bla\", vendor_code:2323, isToPayCustomer:false, origin_area:\"AAA\"}\r\n      \r\nshipment_details[:consignee_details] = {consignee_name:\"Ninja\", address:\"hogsmeade station\", consignee_pincode:\"400067\", consignee_telephone:\"02228551577\", consignee_mobile: \"9594964000\", consignee_attention:\"none\"}\r\n      \r\nshipment_details[:services] = {piece_count:1, actual_weight:1, pack_type:\"box\", invoice_no:\"2121\", special_instruction:\"none\", declared_value:9999, credit_reference_no:9999, dimensions:[{:breadth=>1,:height=>2,:length=>1,:count=>1}], pickup_date:\"2016-4-30\", pickup_time: Time.now + 1.days, commodities:[\"Crack\"], product_type:\"Dutiables\", collectable_amount:5050, product_code:\"A\", sub_product_code:\"C\", p_d_f_output_not_required:false}\r\n      \r\nb = Bluedart::Shipment.new(shipment_details)\r\n      \r\nb.response"},"comment":{"url":"https://api.github.com/repos/chirag7jain/bluedart/issues/comments/215326586","html_url":"https://github.com/chirag7jain/bluedart/issues/1#issuecomment-215326586","issue_url":"https://api.github.com/repos/chirag7jain/bluedart/issues/1","id":215326586,"user":{"login":"chirag7jain","id":3283141,"avatar_url":"https://avatars.githubusercontent.com/u/3283141?v=3","gravatar_id":"","url":"https://api.github.com/users/chirag7jain","html_url":"https://github.com/chirag7jain","followers_url":"https://api.github.com/users/chirag7jain/followers","following_url":"https://api.github.com/users/chirag7jain/following{/other_user}","gists_url":"https://api.github.com/users/chirag7jain/gists{/gist_id}","starred_url":"https://api.github.com/users/chirag7jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chirag7jain/subscriptions","organizations_url":"https://api.github.com/users/chirag7jain/orgs","repos_url":"https://api.github.com/users/chirag7jain/repos","events_url":"https://api.github.com/users/chirag7jain/events{/privacy}","received_events_url":"https://api.github.com/users/chirag7jain/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T06:45:18Z","updated_at":"2016-04-28T06:45:18Z","body":"if you read the error carefully it says that there a value / values that needs to be \"double\" - datatype\r\n\r\n'There was an error deserializing the object of type SAPI.Entities.WayBillGeneration.WayBillGenerationRequest. The value '' cannot be parsed as the type 'double'.'. Please see InnerException for more details.\"}}}\r\n\r\ni think its the actual weight attribute"}}