ramsystematix / Dotzot_pudo

GNU General Public License v3.0
0 stars 0 forks source link

Getting The AWB series is not allocated to this customer response #1

Open DharmeshParmar opened 7 years ago

DharmeshParmar commented 7 years ago

i am sending below data to api and get response like The AWB series is not allocated to this customer

Array
(
    [UserName] => dztuser
    [Password] => dotzot@2013
    [ClientId] => DOTZOT
    [xmlBatch] => <NewDataSet>
    <Customer>
        <CUSTCD>BK02693</CUSTCD>
    </Customer>
    <Docket>
        <Order_No>10447</Order_No>
        <AGENT_ID>TEST</AGENT_ID>
        <Product_Code>tp-1</Product_Code>
        <Item_Name>Test Product</Item_Name>
        <AWB_No>I31000115681</AWB_No>
        <N0_of_Pieces>1</N0_of_Pieces>
        <Customer_Name>DEMO DEMO</Customer_Name>
        <Shipping_Add1>vasu
vasu</Shipping_Add1>
        <Shipping_Add2>Surat</Shipping_Add2>
        <Shipping_City>Surat</Shipping_City>
        <Shipping_State>Gujarat</Shipping_State>
        <Shipping_Zip>395007</Shipping_Zip>
        <Shipping_TeleNo>1234567891</Shipping_TeleNo>
        <Shipping_MobileNo>1234567891</Shipping_MobileNo>
        <Shipping_EmailId>demo@test.com</Shipping_EmailId>
        <Total_Amt>10.0000</Total_Amt>
        <Mode>C</Mode>
        <Collectable_amount>10.0000</Collectable_amount>
        <Weight>100</Weight>
        <UOM>Per KG</UOM>
        <Type_of_Service>Express</Type_of_Service>
        <VendorName>DEMO DEMO</VendorName>
        <VendorAddress1>vasu
vasu</VendorAddress1>
        <VendorAddress2></VendorAddress2>
        <VendorPincode>395007</VendorPincode>
        <VendorTeleNo>1234567891</VendorTeleNo>
        <IsPUDO>N</IsPUDO>
        <TypeOfDelivery>HOME DELIVERY</TypeOfDelivery>
        <PUDO_Id></PUDO_Id>
    </Docket>
</NewDataSet>
)

Response i get from API ( [PushOrderData_PUDOResult] => NoI31000115681The AWB series is not allocated to this customer ) DEBUG (7): Array ( [Docket] => Array ( [Succeed] => No [DockNo] => I31000115681 [Reason] => The AWB series is not allocated to this customer )

)

is am i sending wrong data..

ramsystematix commented 7 years ago

Make sure you have test docket number series.

DharmeshParmar commented 7 years ago

Thanks , I will check that, Can you please guide me which api url i need to use for creating Lables and which data i need to pass to api. your help will realy help me..

ramsystematix commented 7 years ago

For test customer we are using api: http://dotzot-test.azurewebsites.net/services/InstacomCustomerServices.asmx?WSDL With CUSTCD: CC000100132

ramsystematix commented 7 years ago

Hope you overcome with issue.