1b.app
Link copied -

targeted delivery Justin

please evaluate the finalization of the OneBox functionality for creating TTN with targeted delivery to the client by the Justin delivery service
Creation of TTN - automatically
delivery address - taken from the "Process client address" field
Original question is available on version: ru

Answers:

Based on the documentation https://justin.ua/api/api_justin_documentation.pdf:
- it is necessary to pass the parameter delivery_is_required=true
- parse the city from the address to pass its uuid to the receiver_city_id parameter
- pass the address in the receiver_delivery_address parameter
In theory, we can make a setting in the automatic creation action so that if a department is not specified / not defined, we can try to generate a TTN for targeted delivery, but due to the receiver_city_id parameter (it needs to be determined by regular expressions somehow from the address) - such refinement will take about 3 hours (provided that we use either several address templates of our choice, or provided by you).
15.11.2021, 17:25
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich
OneBox production wrote:
Based on the documentation https://justin.ua/api/api_justin_documentation.pdf:
- it is necessary to pass the parameter delivery_is_required=true
- parse the city from the address to pass its uuid to the receiver_city_id parameter
- pass the address in the receiver_delivery_address parameter
In theory, we can make a setting in the automatic creation action so that if a department is not specified / not defined, we can try to generate a TTN for targeted delivery, but due to the receiver_city_id parameter (it needs to be determined by regular expressions somehow from the address) - such refinement will take about 3 hours (provided that we use either several address templates of our choice, or provided by you).

and let's try this.... in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional process field is equal to 1"
and if this field is set in the process, then when you try to create a TTN with an action, you rely on it and pass the address from the Process Address field without any regular expressions.
16.11.2021, 11:42
Original comment available on version: ru


and let's try this.... in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional process field is equal to 1"
and if this field is set in the process, then when you try to create a TTN with an action, you rely on it and pass the address from the Process Address field without any regular expressions.

In the receiver_city_id parameter (which sounds like a mandatory one in the documentation), what will we pass if there are no regular expressions?
16.11.2021, 16:18
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich
OneBox production wrote:
Based on the documentation https://justin.ua/api/api_justin_documentation.pdf:
- it is necessary to pass the parameter delivery_is_required=true
- parse the city from the address to pass its uuid to the receiver_city_id parameter
- pass the address in the receiver_delivery_address parameter
In theory, we can make a setting in the automatic creation action so that if a department is not specified / not defined, we can try to generate a TTN for targeted delivery, but due to the receiver_city_id parameter (it needs to be determined by regular expressions somehow from the address) - such refinement will take about 3 hours (provided that we use either several address templates of our choice, or provided by you).

and let's try this.... in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional process field is equal to 1"
and if this field is set in the process, then when you try to create a TTN with an action, you rely on it and pass the address from the Process Address field without any regular expressions.

Tyndyk Maxim Vadimovich
OneBox production wrote:

and let's try this.... in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional process field is equal to 1"
and if this field is set in the process, then when you try to create a TTN with an action, you rely on it and pass the address from the Process Address field without any regular expressions.

In the receiver_city_id parameter (which sounds like a mandatory one in the documentation), what will we pass if there are no regular expressions?

In this case, is it possible to make automation for directories to get Justin's addresses?
then configure the integration module with Justin in such a way that there is a choice of additional. fields from which to take the components of the address required for targeted delivery?
16.11.2021, 20:29
Original comment available on version: ru


In this case, is it possible to make automation for directories to get Justin's addresses?
then configure the integration module with Justin in such a way that there is a choice of additional. fields from which to take the components of the address required for targeted delivery?

Unfortunately, I do not understand how this should make it easier for you to determine the city to pass to the API?
Do you want to import street data from the API according to the method "6 REQUEST FOR DETAILS STREETS" https://justin.ua/api/api_justin_documentation.pdf as a reference, and then use it in selecting additional fields?
And after these additional fields so that the automatic action pulls up as a targeted delivery (at least a city)?
17.11.2021, 15:48
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich
OneBox production wrote:
Do you want to import street data from the API according to the method "6 REQUEST FOR DETAILS STREETS" https://justin.ua/api/api_justin_documentation.pdf as a reference, and then use it in selecting additional fields?
And after these additional fields so that the automatic action pulls up as a targeted delivery (at least a city)?

Yes. a similar technology works with Nova Poshta. there is automation for directories for obtaining address units
18.11.2021, 09:57
Original comment available on version: ru

1. Implement automation for directories "Justin (addresses)" - 3 hours
2. Improve the automatic action for creating EH Justin to receive a city identifier from an additional field, as well as checking the condition (additional field = value) for applying targeted delivery (take the address from the "Process client address") - 3h
3. If necessary, you can redo the department selector on the Justin EH creation tab to autocomplete with the ability to specify the delivery address (so that if you specify the address without selecting the department from the list, it will be considered targeted delivery, the city will already be selected) - this will take 5 hours
18.11.2021, 15:29
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich
OneBox production wrote:
Based on the documentation https://justin.ua/api/api_justin_documentation.pdf:
- it is necessary to pass the parameter delivery_is_required=true
- parse the city from the address to pass its uuid to the receiver_city_id parameter
- pass the address in the receiver_delivery_address parameter
In theory, we can make a setting in the automatic creation action so that if a department is not specified / not defined, we can try to generate a TTN for targeted delivery, but due to the receiver_city_id parameter (it needs to be determined by regular expressions somehow from the address) - such refinement will take about 3 hours (provided that we use either several address templates of our choice, or provided by you).

Maxim, judging from the description of the method, passing the receiver_city_id is completely optional. Therefore, I ask you to pass in the parameter receiver_delivery_ad
dress value from the "Process Client Address" field and that's it.
those. at the output it should turn out like this
1. in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional process field is 1"
2. in the process selected add. the field is filled with a checkmark if there is an address delivery
3. The action to create a TT Justin is triggered, a request for the creation of a TT is generated, in which you pass delivery_is_required=true and receiver_delivery_address=address of the process client.
that's all.
and invoice please
19.11.2021, 08:44
Original comment available on version: ru


Pereginyak Alexander Oneboxconsulting (integrator) wrote:
Maxim, judging from the description of the method, passing the receiver_city_id is completely optional. Therefore, I ask you to pass in the parameter receiver_delivery_ad
dress value from the "Process Client Address" field and that's it.

Specify where exactly in these parameters when passing delivery_is_required=true (address delivery) is the receiver_city_id parameter optional?
I mean the opposite - it says "obv'yazkovo to zapovnennya, so delivery_is_required = true"
19.11.2021, 14:23
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich
OneBox production wrote:

Pereginyak Alexander Oneboxconsulting (integrator) wrote:
Maxim, judging from the description of the method, passing the receiver_city_id is completely optional. Therefore, I ask you to pass in the parameter receiver_delivery_ad
dress value from the "Process Client Address" field and that's it.

Specify where exactly in these parameters when passing delivery_is_required=true (address delivery) is the receiver_city_id parameter optional?
I mean the opposite - it says "obv'yazkovo to zapovnennya, so delivery_is_required = true"


in the example on creating a TTN with targeted delivery from the documentation .
As I understand it, the surest option is to move on the basis that this parameter is mandatory. Tell me what you need in order to put it into operation (you wrote about the regular season ... what is required of me?)
22.11.2021, 09:20
Original comment available on version: ru


in the example of creating a TTN with targeted delivery from the documentation.

Fascinating Justin documentation - contradicts itself :)

As I understand it, the surest option is to move on the basis that this parameter is mandatory. Tell me what you need in order to put it into operation (you wrote about the regular season ... what is required of me?)

Let's go back to my first comment:

In theory, we can make a setting in the automatic creation action so that if a department is not specified / not defined, we can try to generate a TTN for targeted delivery, but due to the receiver_city_id parameter (it needs to be determined by regular expressions somehow from the address) - such refinement will take about 3 hours (provided that we use either several address templates of our choice, or provided by you).

We use at our discretion several examples of formats for filling in an address for the presence of a city - and its transmission in the request.
If for some reason the city was not found - let's try to create an EH without it - suddenly Justin allows this despite the questions to the documentation.

1. in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional process field is 1"
2. in the process selected add. the field is filled with a checkmark if there is an address delivery

If you need another such setting - it's +1 hour.
If you suddenly need to make the possibility of targeted delivery in the EH creation tab:

3. If necessary, you can redo the department selector on the Justin EH creation tab to autocomplete with the ability to specify the delivery address (so that if you specify the address without selecting the department from the list, it will be considered targeted delivery, the city will already be selected) - this will take 5 hours
22.11.2021, 11:44
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)
Okay, then resume and invoice
1. In theory, we can make a setting in the automatic creation action so that if a department is not specified / not defined, we can try to generate a TTN for targeted delivery, but due to the receiver_city_id parameter (it needs to be determined by regular expressions somehow from the address) - similar completion will take about 3 hours (provided that we use either several address templates of our choice, or provided by you).
2.
- in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional field of the process is equal to the specified value"
- in the process of selected add. the field is filled with a value, if when creating a TTN the value of the field in the process is equal to that specified in the settings, then we create a TTN with targeted delivery
If you need another such setting - it's +1 hour.
Total 4 hours. (the condition was slightly paraphrased on the integration settings, I hope it will not affect the assessment)
22.11.2021, 14:08
Original comment available on version: ru


2.
- in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional field of the process is equal to the specified value"
- in the process of selected add. the field is filled with a value, if when creating a TTN the value of the field in the process is equal to that specified in the settings, then we create a TTN with targeted delivery

It is better not to integrate (because we are not finalizing the ability to specify an address for targeted delivery in the tab) - but to use automatic creation. Does it fit?
22.11.2021, 14:47
Original comment available on version: ru

Перегиняк Александр
Oneboxconsulting (интегратор)

Tyndyk Maxim Vadimovich
OneBox production wrote:

2.
- in Justin's settings, display the field "Assume that the delivery is targeted, if the selected additional field of the process is equal to the specified value"
- in the process of selected add. the field is filled with a value, if when creating a TTN the value of the field in the process is equal to that specified in the settings, then we create a TTN with targeted delivery

It is better not to integrate (because we are not finalizing the ability to specify an address for targeted delivery in the tab) - but to use automatic creation. Does it fit?

fit, invoice
25.11.2021, 13:42
Original comment available on version: ru

1. Improved setting "If the delivery department is not defined - use targeted delivery"
If this setting is specified and the branch is not specified, targeted delivery will be transmitted (with the definition of the recipient's city)
2. Improved setting "Consider that the delivery is targeted if the selected additional field of the process is equal to the specified value"
If this setting is specified and the condition is met, targeted delivery will be sent (with the definition of the recipient's city), otherwise - to the branch
PS: please check, if suddenly some address does not parse for a city - give an example of such an address.
30.11.2021, 14:53
Original comment available on version: ru

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