Topic: Import orders API issue
Hi,
I am trying to import order through API but getting error as:
{
"detail": "No suitable data",
"error": 6
}
URL: http://logistics.wialon.com/api/import
--data-urlencode 'token=.....' \
--data-urlencode 'resourceId=HussainTest' \
--data-urlencode 'data=[{"uid":0,"id":0,"n":"test
import","p":{"n":"test","p":"99850264","p2":"99850263","e":"","a":"Kuwait City, Soor Street, Kuwait City","v":0,"w":0,"c":0,"d":"","ut":600,"t":"","r":null,"cid":"","uic":"","ntf":0,"pr":0,"tags":["test_import"]},"f":32,"tf":
0,"tt":86340,"r":100,"y":47.9876511,"x":29.366247,"u":0,"s":0,"trt":3600,"cf":{"cf1":"value_1","cf2":
"value2"},"itemId":"HussainTest","callMode":"create"}]' \
--data-urlencode 'repeated=1'
Please let us know what needs to be corrected.