1b.app
Link copied -

/api/orders/update/ transfer of additional process field by multilist

Good afternoon. Tell me, is it possible to transfer the value of the multilist to the additional field of the process via api. If yes, how? Thanks in advance
Original question is available on version: ru

Answers:

good afternoon, now the values of additional fields for this request are not saved taking into account types, but you can add this feature in 2 hours
05.03.2021, 11:04
Original comment available on version: ru


Zamogilny Dmitry
Employee wrote:
good afternoon, now the values of additional fields for this request are not saved taking into account types, but you can add this feature in 2 hours

Thank you, we think
05.03.2021, 12:25
Original comment available on version: ru

Dmitry, please also evaluate option 2, add the type of additional process product field - multilist, and add the ability to transfer several values to it when updating the order. Also, please note that you need to be able to filter processes by this type of field.
05.03.2021, 15:06
Original comment available on version: ru

please note that in this field you will need to pass the id of the products of the process, not the id of the products, and the process that is being updated
and when filtering more than 1 process, it will not be possible to get
maybe you meant the multilist of products by analogy with the additional fields of the product or contact?
05.03.2021, 16:30
Original comment available on version: ru


Zamogilny Dmitry
Employee wrote:
please note that in this field you will need to pass the id of the products of the process, not the id of the products, and the process that is being updated

Dmitry, I meant just a multilist of not contacts and not products, but the ability to specify several values from the drop-down list
05.03.2021, 16:47
Original comment available on version: ru

this type of field already exists in the process's additional fields, and as part of the previous assessment, I suggested taking into account any existing type of the process's additional field when updating the process through the API
05.03.2021, 16:58
Original comment available on version: ru


Zamogilny Dmitry
Employee wrote:
this type of field already exists in the process's additional fields, and as part of the previous assessment, I suggested taking into account any existing type of the process's additional field when updating the process through the API

Dmitry, we need an additional process product field (into the product table) with the multilist lunge type
05.03.2021, 17:13
Original comment available on version: ru

now I understand, in this case, you need not only to add the field + its correct display in the universal block, but to make it possible to take into account the type of additional fields of the process products in the API update request = 2 h + 2 h
05.03.2021, 18:05
Original comment available on version: ru

*not in the universal block, but in the list of process products
05.03.2021, 18:06
Original comment available on version: ru

Dmitry, thanks, we think
09.03.2021, 12:00
Original comment available on version: ru


Zamogilny Dmitry
Employee wrote:
now I understand, in this case, you need not only to add the field + its correct display in the universal block, but to make it possible to take into account the type of additional fields of the process products in the API update request = 2 h + 2 h

Dmitry, we are launching the project https://crm.hlr.ua/, on account of paid hours (there are 13 more hours of improvements).
PS. Is it taken into account that the process filter should also work on this field type?
10.03.2021, 14:57
Original comment available on version: ru


Shatokhina Irina wrote:
PS. Is it taken into account that the process filter should also work on this field type?

yes, in process filters this type of process product additional field will work similarly to a similar type of process additional field (as in the Additional field filter)
10.03.2021, 17:58
Original comment available on version: ru

Irina, do you need to take into account only the type of the additional field of the process product in the API request, or also the type of the additional field of the process (answer 03/05/2021, Friday, 11:04)?
10.03.2021, 18:01
Original comment available on version: ru


Zamogilny Dmitry
Employee wrote:
Irina, do you need to take into account only the type of the additional field of the process product in the API request, or also the type of the additional field of the process (answer 03/05/2021, Friday, 11:04)?

Dmitry, if in 4 hours you can add one and the other, then both fields (both the process and the product of the process) are needed. If there is only one, then at the moment it is exactly the additional fields of the process product (product table) that are needed
10.03.2021, 22:53
Original comment available on version: ru

Dmitry, orient plz in terms. Thanks
12.03.2021, 09:43
Original comment available on version: ru

Irina, this logic should be added to your box tonight
field values with the multilist type for process products in this API request must be passed comma-separated without spaces
please check if everything will work correctly
15.03.2021, 18:02
Original comment available on version: ru


Zamogilny Dmitry wrote:
Irina, this logic should be added to your box tonight
field values with the multilist type for process products in this API request must be passed comma-separated without spaces
please check if everything will work correctly

Dmitry, preliminary everything is fine, before the end of the day we will check for a real request from 1s and unsubscribe
16.03.2021, 14:34
Original comment available on version: ru

Dmitry, it works, thanks
18.03.2021, 09:22
Original comment available on version: ru

Dmitry, there was such a problem, in the value of the modified multilist field there is an & sign and everything after it does not fall into the field
Here is an example request https://crm.hlr.ua/api/orders/update/?login=LOGIN&password=PASSWORD&orde... Phenomenex, Glaswarenfabrik Karl Hecht GmbH & Co. KG, in the process, an incomplete value was displayed and this is what is in the logs Is it possible to make all values be taken as field values, and not as part of the request? process for testing https://crm.hlr.ua/admin/customorder/test/60650/edit/
Thanks
24.03.2021, 16:37
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