curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: Swagger-Codegen/1.0.64+master/python" -H "x-aer-mock-hub: true" -H "x-aer-mock-lp: true" -H "x-aer-mock-ff: true" -H "x-aer-mock-yandex-bond: true" -H "x-aer-mock-egov-uz: true" -H "x-aer-mock-tmg: true" -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodWJfYmFyY29kZSI6Ijk5OTk5OTEiLCJodWJfdXNlcl9pZCI6IjEzIiwiaHViX2h1Yl9pZCI6IjEiLCJodWJfdXNlcl9uYW1lIjoiQXV0b3Rlc3RzIDEiLCJodWJfcm9sZSI6WyJBZG1pbiIsIk1hbmFnZXIiLCJPcGVyYXRvciIsIkluc3BlY3RvciJdLCJodWJfZmVhdHVyZSI6WyJab25lSW5ib3VuZCIsIlpvbmVTb3J0aW5nIiwiWm9uZVBhY2tpbmciLCJab25lQ3VzdG9tcyIsIlpvbmVPc2wiLCJab25lRGlzcGF0Y2giLCJTb3J0TG9zdCIsIkN1c3RvbXMiLCJPem9uTWFnaXN0cmFsIl0sIm5iZiI6MTc3MDU5NDE0NywiZXhwIjoxNzcwNTk3NzQ3LCJpYXQiOjE3NzA1OTQxNDcsImlzcyI6Imh1YiIsImF1ZCI6Imh1YiJ9.wOyzMbkOF3c3P-F0ZsgicQHIpbQ_ac1uLY9RrR9XelU" -H "x-aer-mesh: dm-hub-service-package:master;dm-hub-service-package-external:master;dm-hub-service-sorting:master;dm-hub-service-asn:master;dm-hub-service-inbound:master;dm-hub-service-meta:master;dm-hub-service-configuration:master;dm-hub-service-packing:master;dm-hub-service-dispatch:master;dm-hub-service-label:master;dm-hub-service-storage:master;dm-hub-service-cargo:master;dm-hub-service-country:master;dm-hub-service-customs:master;dm-hub-service-document:master;dm-hub-service-email:master;dm-hub-service-file-storage:master;dm-hub-service-inspection:master;dm-hub-service-osl:master;dm-hub-service-partners:master;dm-hub-service-report:master;dm-hub-service-settings:master;dm-hub-service-short-link:master;dm-hub-service-templates:master;dm-hub-service-tracking:master;dm-hub-service-transliteration:master;dm-hub-service-processing:master;dm-hub-api-cargo-carrier:master;dm-hub-api-fe:master;dm-hub-api-ff:master;dm-hub-api-wms:master;dm-hub-api-aer:master;dm-hub-api-joom:master;dm-hub-api-gateway:master;dm-hub-api-partners:master;dm-hub-api-pochta-global:master;dm-hub-api-public:master;dm-hub-api-wildberries:master;dm-hub-api-internal:master;dm-hub-daemon-package-process:master;dm-hub-daemon-tracking:master;dm-hub-integration-ff:master;dm-hub-integration-aer:master;dm-hub-integration-cainiao:master;dm-hub-integration-cargo-carrier:master;dm-hub-integration-gtt:master;dm-hub-integration-kazpost:master;dm-hub-integration-kgpost:master;dm-hub-integration-partners:master;dm-hub-integration-post:master;dm-hub-integration-rupost:master;dm-hub-integration-telegram:master;dm-hub-integration-upu:master;dm-hub-integration-wms:master;dm-hub-workflow-asn:master;dm-hub-workflow-email:master;dm-hub-workflow-hub-external:master;dm-hub-workflow-hub-internal:master;dm-hub-workflow-integration:master;dm-hub-workflow-package:master;dm-hub-workflow-tracking:master" -H "x-aer-test-type: auto" -H "x-aer-app-name: python-autotests" -d '{"asn_details": [{"record_id": 9759, "details": "{\"CurrentCPResCode\": \"KG-70594147282899200-R\", \"LogisticsOrderCode\": \"KG-70594147282899200-R\", \"TrackingNumber\": \"KG-70594147282899200-R\", \"MsgType\": null, \"MsgId\": null, \"FromCode\": null, \"PartnerCode\": null, \"DataDigest\": null, \"LogisticsInterface\": null, \"OutboundTime\": null, \"SegmentCode\": null, \"CarrierCode\": null, \"IsMorePackage\": null, \"TransportCode\": null, \"FromPortCode\": null, \"ToPortCode\": null, \"WaybillUrl\": null, \"WaybillNumber\": null, \"Remark\": null, \"PickupTime\": \"0001-01-01T00:00:00\", \"TimeZone\": 0, \"ExpressType\": null, \"PreCPResCode\": \"DM222DM22\", \"NextCPResCode\": \"DM222DM22\", \"InterCPResCode\": \"DM222DM22\", \"RoutingTrial\": 1, \"BizType\": \"STANDARD_PUDO_RUSSIA\", \"BizKey\": null, \"DeliverType\": \"2\", \"LogisticsOrderCreateTime\": \"0001-01-01T00:00:00\", \"Sender\": {\"ImID\": \"cn1002383554ibgae\", \"Name\": \"shanmu\", \"Phone\": \"17689259259\", \"Mobile\": null, \"Email\": null, \"ZipCode\": \"354007\", \"CompanyName\": null, \"StoreUrl\": \"\", \"StoreName\": null, \"StoreID\": null, \"StoreType\": null, \"Address\": {\"Country\": \"China\", \"Province\": \"fujiansheng\", \"City\": \"fuzhoushi\", \"District\": \"cangshanqu\", \"Street\": \"jianxinzhen\", \"DetailAddress\": \"3rdFloor,Building27\"}, \"CompanyId\": null, \"Identity\": null}, \"Buyer\": null, \"Receiver\": {\"ImID\": \"ru11082754mcvae\", \"Name\": \"\\u041c\\u0443\\u0445\\u0430\\u043c\", \"Phone\": \"+79274627023\", \"Mobile\": \"+79274627023\", \"Email\": \"dhhfuhfssdrfukb@gmail.com\", \"CpreceiverCode\": null, \"ZipCode\": \"423578\", \"Address\": {\"Country\": \"KG\", \"Province\": \"\\u0422\\u0430\\u0442\\u0430\\u0440\\u0441\\u0442\\u0430\\u043d\\u0420\\u0435\\u0441\\u043f\", \"City\": \"\\u041d\\u0438\\u0436\\u043d\\u0435\\u043a\\u0430\\u043c\\u0441\\u043a\\u0438\\u0439\\u0440\", \"District\": \"\\u041d\\u0438\\u0436\\u043d\\u0435\\u043a\\u0430\\u043c\\u0441\\u043a\\u0433\", \"Street\": null, \"DetailAddress\": \"\\u0433.\\u041d\\u0438\\u0436\\u043d\\u0435\\u043a\\u0430\\u043c\\u0441\\u043a\"}, \"Identity\": null, \"AreaId\": \"917484847871000000\"}, \"PopStation\": {\"Id\": \"3454875\", \"Name\": \"\\u041d\\u0416\\u041a-6KazanExpress\", \"Phone\": null, \"ZipCode\": \"423578\", \"Address\": {\"Country\": \"RussianFederation\", \"Province\": \"\\u0422\\u0430\\u0442\\u0430\\u0440\\u0441\\u0442\\u0430\\u043d\\u0420\\u0435\\u0441\\u043f\", \"City\": \"\\u041d\\u0438\\u0436\\u043d\\u0435\\u043a\\u0430\\u043c\\u0441\\u043a\\u0438\\u0439\\u0440-\\u043d\", \"District\": null, \"Street\": null, \"DetailAddress\": \"\\u0433.\\u041d\\u0438\\u0436\\u043d\\u0435\\u043a\\u0430\\u043c\\u0441\\u043a\"}, \"PointType\": null, \"GppOrderCode\": null, \"CpID\": \"1717913\"}, \"Pickup\": {\"Name\": \"shanmu\", \"Phone\": \"17689259259\", \"Mobile\": null, \"Email\": null, \"ZipCode\": \"354007\", \"Address\": {\"Country\": \"China\", \"Province\": \"fujiansheng\", \"City\": \"fuzhoushi\", \"District\": \"cangshanqu\", \"Street\": \"jianxinzhen\", \"DetailAddress\": \"3rdFloor,Building27\"}}, \"Parcel\": {\"Weight\": 955, \"WeightUnit\": \"g\", \"SuggestedWeight\": 955, \"PayWeight\": null, \"ItemWeight\": null, \"Price\": 6826, \"PriceUnit\": \"CENT\", \"PriceCurrency\": \"USD\", \"Length\": null, \"Width\": null, \"Height\": null, \"DimensionUnit\": null, \"BigBagID\": null, \"ParcelQuantity\": null, \"BigBagWeight\": null, \"BigBagWeightUnit\": \"g\", \"MasterID\": null, \"AsnID\": null, \"AirID\": null, \"GoodsList\": [{\"Weight\": 10, \"WeightUnit\": \"g\", \"ProductID\": \"1005006098359274\", \"SkuID\": null, \"Name\": \"plastictoyparts(K2140)\", \"CnName\": \"\\u5851\\u6599\\u73a9\\u5177\\u914d\\u4ef6\", \"LocalName\": null, \"CategoryID\": \"2622\", \"CategoryName\": \"Blocks\", \"SuggestedENName\": \"KDL818LG1009SkibidiToiletAnimeCartoonBricksDollsCameramanSpeakermanTVManMiniActionToyFiguresBuildingBlocks\", \"CategoryCNName\": \"\\u5851\\u6599\\u73a9\\u5177\\u914d\\u4ef6\", \"CategoryFeature\": \"00\", \"Price\": 200, \"ItemPrice\": 74, \"PriceUnit\": \"CENT\", \"PriceCurrency\": \"USD\", \"DeclarePrice\": 20, \"Quantity\": 1, \"Extension\": null, \"Url\": \"http://www.aliexpress.com/item//1005006098359274.html\", \"HsCode\": \"392690\", \"Tax\": 0, \"MailTaxNumber\": null, \"ProductCategory\": \"Toys&Hobbies|Building&ConstructionToys|Blocks\"}, {\"Weight\": 30, \"WeightUnit\": \"g\", \"ProductID\": \"1005004739148355\", \"SkuID\": null, \"Name\": \"toys\", \"CnName\": \"\\u76d2\\u88c5\\u94a5\\u5319\\u6263\\u65b0\\u6b3e\\u8fbe\\u65af\\u6c40\\u5f69\\u8863273\", \"LocalName\": null, \"CategoryID\": \"2621\", \"CategoryName\": \"ActionFigures\", \"SuggestedENName\": \"FunkoPOPNEWArriveStrangerKeychainELEVENDemogorgonDUSTINBarbSteveRobinThingKeychainToyVinylFigureModelKidToys\", \"CategoryCNName\": \"\\u76d2\\u88c5\\u94a5\\u5319\\u6263\\u65b0\\u6b3e\\u8fbe\\u65af\\u6c40\\u5f69\\u8863273\", \"CategoryFeature\": \"00\", \"Price\": 10, \"ItemPrice\": 397, \"PriceUnit\": \"CENT\", \"PriceCurrency\": \"USD\", \"DeclarePrice\": 10, \"Quantity\": 1, \"Extension\": null, \"Url\": \"http://www.aliexpress.com/item//1005004739148355.html\", \"HsCode\": \"392690\", \"Tax\": 0, \"MailTaxNumber\": null, \"ProductCategory\": \"Toys&Hobbies|Action&ToyFigures|ActionFigures\"}], \"Customs\": {\"CustomsCode\": null, \"PassportInfo\": null, \"PassportExpireDate\": \"0001-01-01T00:00:00\", \"CustomsName\": null, \"CustomsContact\": null, \"TaxTotal\": null, \"DeclarePriceTotal\": 2835, \"PassportIssueDate\": null, \"PassportHolderName\": null}, \"ReturnParcel\": {\"ImID\": \"cn1002383554ibgae\", \"Name\": \"shanmu\", \"Phone\": \"17689259259\", \"Mobile\": null, \"Email\": null, \"UndeliverableOption\": \"2\", \"ZipCode\": \"354007\", \"Address\": {\"Country\": \"China\", \"Province\": \"fujiansheng\", \"City\": \"fuzhoushi\", \"District\": \"cangshanqu\", \"Street\": \"jianxinzhen\", \"DetailAddress\": \"3rdFloor,Building27,XinxiangMachineryCo.,Ltd.,JianxinTown,CangshanDistrict,FuzhouCity,FujianProvince\"}}, \"Trade\": {\"TradeID\": \"5323226148487754\", \"Price\": null, \"PriceUnit\": \"CENT\", \"PriceCurrency\": \"USD\", \"PurchaseTime\": \"0001-01-01T00:00:00\"}, \"ShippingPayment\": null, \"SortCode\": null, \"CourierNo\": null, \"LocationType\": null, \"TruckNumber\": null, \"ParcelTotalQuantity\": null, \"BigBagQuantity\": null, \"CloudPrintData\": null, \"MailBoxItem\": null, \"LaneCode\": null, \"IsLastPackage\": null, \"SerialNumber\": null, \"LastMileTariff\": null, \"MarketplaceID\": null, \"CurrentStatusCode\": null, \"SolutionCode\": \"STANDARD_PUDO_RUSSIA\", \"SubParcelQuantity\": null, \"SubParcelList\": null, \"BizTag\": null, \"SpecialOrderType\": null, \"InsuranceInfo\": {\"IsApply\": null, \"DeclaredValue\": null}, \"Membership\": null, \"FromHubResCode\": null, \"CourierCompanyID\": null, \"HandoverLastMile\": false, \"ChangeLabel\": null, \"TriggerEvent\": null, \"Eta\": null, \"LinehaulReturn\": null, \"NeedCOD\": null, \"CodNum\": null, \"MawbNo\": null, \"PayType\": null, \"ServiceItemID\": null, \"EurSettlementTag\": null, \"HermesSortLevelInfo\": null, \"CteEntity\": null, \"KoreanProvince\": null, \"KoreanCity\": null, \"KoreanDetailedAddress\": null, \"Content\": null, \"FormatType\": null}}", "type": "Package", "asn_data_type": "Cainiao"}]}' 'https://dm-hub-service-asn-master.k8s-review.dailymail-tech.uz/api/v2/asn/upsert'