Good afternoon, as you can see from the examples, in one of them the name of the settlement is in Ukrainian, although in the box the names are saved in Russian, in both examples its type is added to the settlement. After analyzing the very first xml file from the action, it becomes clear that there is no single system for generating addresses, for such addresses it is impossible to write a parser, the addresses will be saved in the form in which they arrive.. With. Pidgaytsi (Lutsk district), Viddelennya No. 1, st. Dubnivska, 16G Novograd-Volynsky, No. 3 (up to 30 kg per bowl): st. Pushkina, 8, approx. 10-A Odessa, No. 128 (up to 30 kg): ave. Ak. Glushko, 29 m. Odesa, Vіddіlennya №72 (up to 30 kg): st. Balkivska, 30
Good afternoon, as you can see from the examples, in one of them the name of the settlement is in Ukrainian, although in the box the names are saved in Russian, in both examples its type is added to the settlement.
After analyzing the very first xml file from the action, it becomes clear that there is no single system for generating addresses, for such addresses it is impossible to write a parser, the addresses will be saved in the form in which they arrive..
With. Pidgaytsi (Lutsk district), Viddelennya No. 1, st. Dubnivska, 16G
Novograd-Volynsky, No. 3 (up to 30 kg per bowl): st. Pushkina, 8, approx. 10-A
Odessa, No. 128 (up to 30 kg): ave. Ak. Glushko, 29
m. Odesa, Vіddіlennya №72 (up to 30 kg): st. Balkivska, 30
Zamogilny Dmitry OneBox production wrote: Good afternoon, as you can see from the examples, in one of them the name of the settlement is in Ukrainian, although in the box the names are saved in Russian, in both examples its type is added to the settlement. After analyzing the very first xml file from the action, it becomes clear that there is no single system for generating addresses, for such addresses it is impossible to write a parser, the addresses will be saved in the form in which they arrive.. With. Pidgaytsi (Lutsk district), Viddelennya No. 1, st. Dubnivska, 16G Novograd-Volynsky, No. 3 (up to 30 kg per bowl): st. Pushkina, 8, approx. 10-A Odessa, No. 128 (up to 30 kg): ave. Ak. Glushko, 29 m. Odesa, Vіddіlennya №72 (up to 30 kg): st. Balkivska, 30
In order to avoid this problem, we can import via API (not xml) and the search for the branch will be based on the uuid of the new mail?
[quote]
Zamogilny Dmitry
OneBox production wrote:
Good afternoon, as you can see from the examples, in one of them the name of the settlement is in Ukrainian, although in the box the names are saved in Russian, in both examples its type is added to the settlement.
After analyzing the very first xml file from the action, it becomes clear that there is no single system for generating addresses, for such addresses it is impossible to write a parser, the addresses will be saved in the form in which they arrive..
With. Pidgaytsi (Lutsk district), Viddelennya No. 1, st. Dubnivska, 16G
Novograd-Volynsky, No. 3 (up to 30 kg per bowl): st. Pushkina, 8, approx. 10-A
Odessa, No. 128 (up to 30 kg): ave. Ak. Glushko, 29
m. Odesa, Vіddіlennya №72 (up to 30 kg): st. Balkivska, 30
[/quote]
In order to avoid this problem, we can import via API (not xml) and the search for the branch will be based on the uuid of the new mail?
Vysokos Nikolai Aleksandrovich wrote: we can import via api
what exactly is meant, can you give an example?
I mean, if we pull orders not through PromUA / Import orders from XML, but through PromUA / Import orders to OneBox Does the prom have the ability to pull data by uuid of new mail, instead of "village of Pidgaytsi (Lutsk district), Viddelennya No. 1, Dubnivska st., 16G" ? Will we be able to set up in this case / perhaps modify what would be drawn by the id of the branches?
[quote]
Zamogilny Dmitry
OneBox production wrote:
[quote]
Vysokos Nikolai Aleksandrovich wrote:
we can import via api
[/quote]
what exactly is meant, can you give an example?
[/quote]
I mean, if we pull orders not through PromUA / Import orders from XML, but through PromUA / Import orders to OneBox
Does the prom have the ability to pull data by uuid of new mail, instead of "village of Pidgaytsi (Lutsk district), Viddelennya No. 1, Dubnivska st., 16G" ?
Will we be able to set up in this case / perhaps modify what would be drawn by the id of the branches?
[quote]
Vysokos Nikolai Aleksandrovich wrote:
PromUA / Import orders to OneBox
[/quote]
In this action, the value from delivery_address is stored in the customer address field of the order.
Getting data about branches from delivery_provider_data in OneBox is not currently implemented.
https://prom.ua/cloud-cgi/static/uaprom-static/docs/swagger/index.html#/Orders/get_orders_list
[quote]
Zamogilny Dmitry
OneBox production wrote:
[quote]
Vysokos Nikolai Aleksandrovich wrote:
PromUA / Import orders to OneBox
[/quote]
In this action, the value from delivery_address is stored in the customer address field of the order.
Getting data about branches from delivery_provider_data in OneBox is not currently implemented.
https://prom.ua/cloud-cgi/static/uaprom-static/docs/swagger/index.html#/Orders/get_orders_list
[/quote]
How much will this upgrade cost?
The difficulty in evaluating is that it is not yet clear which id will be returned for different delivery methods, except for NP If you take only NP so far, then saving data about the department for ordering in PromUA / Importing orders to OneBox - 3 hours There will be a multi-list setting for which types of delivery it will be necessary to save data by departments, but so far only NP will be in the selection At the same time, will it be necessary to rewrite the delivery address for the order if the branch is found by id?
The difficulty in evaluating is that it is not yet clear which id will be returned for different delivery methods, except for NP
If you take only NP so far, then saving data about the department for ordering in PromUA / Importing orders to OneBox - 3 hours
There will be a multi-list setting for which types of delivery it will be necessary to save data by departments, but so far only NP will be in the selection
At the same time, will it be necessary to rewrite the delivery address for the order if the branch is found by id?
Zamogilny Dmitry OneBox production wrote: The difficulty in evaluating is that it is not yet clear which id will be returned for different delivery methods, except for NP If you take only NP so far, then saving data about the department for ordering in PromUA / Importing orders to OneBox - 3 hours There will be a multi-list setting for which types of delivery it will be necessary to save data by departments, but so far only NP will be in the selection
We need to improve the import of new mail and Ukrposhta branches.
Zamogilny Dmitry OneBox production wrote: At the same time, will it be necessary to rewrite the delivery address for the order if the branch is found by id?
Do not quite understand. If we can search for a branch by id, then it is probably more correct to pull the address by this id
[quote]
Zamogilny Dmitry
OneBox production wrote:
The difficulty in evaluating is that it is not yet clear which id will be returned for different delivery methods, except for NP
If you take only NP so far, then saving data about the department for ordering in PromUA / Importing orders to OneBox - 3 hours
There will be a multi-list setting for which types of delivery it will be necessary to save data by departments, but so far only NP will be in the selection
[/quote]
We need to improve the import of new mail and Ukrposhta branches.
[quote]
Zamogilny Dmitry
OneBox production wrote:
At the same time, will it be necessary to rewrite the delivery address for the order if the branch is found by id?
[/quote]
Do not quite understand.
If we can search for a branch by id, then it is probably more correct to pull the address by this id
Vysokos Nikolai Aleksandrovich wrote: We need to improve the import of new mail and Ukrposhta branches.
by Ukrposhta, you need to ask the support of prom to send examples of how they will send data to Ukrposhta branches - then there will be an estimate for Ukrposhta
Vysokos Nikolai Aleksandrovich wrote: If we can search for a branch by id, then it is probably more correct to pull the address by this id
ok it will work like this
[quote]
Vysokos Nikolai Aleksandrovich wrote:
We need to improve the import of new mail and Ukrposhta branches.
[/quote]
by Ukrposhta, you need to ask the support of prom to send examples of how they will send data to Ukrposhta branches - then there will be an estimate for Ukrposhta
[quote]
Vysokos Nikolai Aleksandrovich wrote:
If we can search for a branch by id, then it is probably more correct to pull the address by this id
[/quote]
ok it will work like this
Zamogilny Dmitry OneBox production wrote: by Ukrposhta, you need to ask the support of prom to send examples of how they will send data to Ukrposhta branches - then there will be an estimate for Ukrposhta
For ukrposhti robot with invoices is not available via api. Liche for Nova Poshta.
Zamogilny Dmitry OneBox production wrote: ok it will work like this
Submit an invoice. We will do only for new mail search for branches through the API
[quote]
Zamogilny Dmitry
OneBox production wrote:
by Ukrposhta, you need to ask the support of prom to send examples of how they will send data to Ukrposhta branches - then there will be an estimate for Ukrposhta
[/quote]
For ukrposhti robot with invoices is not available via api. Liche for Nova Poshta.
[quote]
Zamogilny Dmitry
OneBox production wrote:
ok it will work like this
[/quote]
Submit an invoice. We will do only for new mail search for branches through the API
Zamogilny Dmitry OneBox production wrote: The "PromUA / Import orders to OneBox" action now has a setting "Determine delivery address by branch number for specified types of delivery"
dropdown doesn't show anything
[quote]
Zamogilny Dmitry
OneBox production wrote:
The "PromUA / Import orders to OneBox" action now has a setting "Determine delivery address by branch number for specified types of delivery"
[/quote]
[file]13909[/file] dropdown doesn't show anything
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up