Hello.
how to get string by directory key in /api/directory/get/ method?
You need to get the entire line by the value of the field in the dictionary
1 Type date
2 Type text
Estimate the cost of improvement or tell me how to get a reference string by field value... Thanks in advance
Hello. how to get string by directory key in /api/directory/get/ method? You need to get the entire line by the value of the field in the dictionary 1 Type date 2 Type text Estimate the cost of improvement or tell me how to get a reference string by field value... Thanks in advance
This API does not provide filtering by fields - only by identifier through the recordid parameter. Alternatively, the filtering can be improved so that "field_name"="value" is passed in the request - this will take 2 hours.
This API does not provide filtering by fields - only by identifier through the recordid parameter.
Alternatively, the filtering can be improved so that "field_name"="value" is passed in the request - this will take 2 hours.
Poltorak Sergey wrote: it will be possible to filter by any field of the directory (with type date, text, number)?
filtering will be available on the fields that are in the directory
Poltorak Sergey wrote: you also need a date period filter for a month, that is, select the "from" "to" field of the reference book
OK
[quote]
Poltorak Sergey wrote:
it will be possible to filter by any field of the directory (with type date, text, number)?
[/quote]
filtering will be available on the fields that are in the directory
[quote]
Poltorak Sergey wrote:
you also need a date period filter for a month, that is, select the "from" "to" field of the reference book
[/quote]
OK
Poltorak Sergey Client wrote: Can you please tell me when to expect a decision?
within 3 working days. days
Please tell me, have 3 working days already passed?
[quote]
Ustimenko Igor
OneBox CTO wrote:
[quote]
Poltorak Sergey
Client wrote:
Can you please tell me when to expect a decision?
[/quote]
within 3 working days. days
[/quote]
Please tell me, have 3 working days already passed?
Poltorak Sergey wrote: Please tell me, have 3 working days already passed?
Sorry, very busy with earlier tasks. Your revision will be implemented until 27.11 until 20:00, after which you will be additionally notified.
[quote]
Poltorak Sergey wrote:
Please tell me, have 3 working days already passed?
[/quote]
Sorry, very busy with earlier tasks.
Your revision will be implemented until 27.11 until 20:00, after which you will be additionally notified.
Tyndyk Maxim Vadimovich wrote: Your revision will be implemented until 27.11 until 20:00, after which you will be additionally notified.
Wrong number - 26.11, that is, today. In general, we implemented the reception of the fields parameter, which should be an array of "key"="value" pairs, where: key - field name value - actual value for filtering If you pass the field "date" or "date / time" - you can filter the interval, passed 2 key-value pairs, adding to the key (field name) the ending "from" / "to" (in the system language)
[quote]
Tyndyk Maxim Vadimovich wrote:
Your revision will be implemented until 27.11 until 20:00, after which you will be additionally notified.
[/quote]
Wrong number - 26.11, that is, today.
In general, we implemented the reception of the fields parameter, which should be an array of "key"="value" pairs, where:
key - field name
value - actual value for filtering
If you pass the field "date" or "date / time" - you can filter the interval, passed 2 key-value pairs, adding to the key (field name) the ending "from" / "to" (in the system language)
Tyndyk Maxim Vadimovich wrote: Your revision will be implemented until 27.11 until 20:00, after which you will be additionally notified.
Wrong number - 26.11, that is, today. In general, we implemented the reception of the fields parameter, which should be an array of "key"="value" pairs, where: key - field name value - actual value for filtering If you pass the field "date" or "date / time" - you can filter the interval, passed 2 key-value pairs, adding to the key (field name) the ending "from" / "to" (in the system language)
Something doesn't work 1 I make such a request domain-login password &directoryid=13&referal_code=stepanchuk and displays the entire directory instead of the expected string... what could be wrong? 2 please send an example of a request with a filter by interval...
[quote]
Tyndyk Maxim Vadimovich
Administrator wrote:
[quote]
Tyndyk Maxim Vadimovich wrote:
Your revision will be implemented until 27.11 until 20:00, after which you will be additionally notified.
[/quote]
Wrong number - 26.11, that is, today.
In general, we implemented the reception of the fields parameter, which should be an array of "key"="value" pairs, where:
key - field name
value - actual value for filtering
If you pass the field "date" or "date / time" - you can filter the interval, passed 2 key-value pairs, adding to the key (field name) the ending "from" / "to" (in the system language)
[/quote]
Something doesn't work
1 I make such a request domain-login password &directoryid=13&referal_code=stepanchuk and displays the entire directory instead of the expected string... what could be wrong?
2 please send an example of a request with a filter by interval...
Poltorak Sergey wrote: Something doesn't work 1 I make such a request domain-login password &directoryid=13&referal_code=stepanchuk and displays the entire directory instead of the expected string... what could be wrong?
you didn't do what I wrote - so the result is not correct should be fields array, in this case &fields[referal_code]=stepanchuk
Poltorak Sergey wrote: 2 please send an example of a request with a filter by interval...
&fields[XXX from]=2020-10-10&fields[XXX to]=2020-10-12 XXX - field name in the directory constructor
[quote]
Poltorak Sergey wrote:
Something doesn't work
1 I make such a request domain-login password &directoryid=13&referal_code=stepanchuk and displays the entire directory instead of the expected string... what could be wrong?
[/quote]
you didn't do what I wrote - so the result is not correct
should be fields array, in this case &fields[referal_code]=stepanchuk
[quote]
Poltorak Sergey wrote:
2 please send an example of a request with a filter by interval...
[/quote]
&fields[XXX from]=2020-10-10&fields[XXX to]=2020-10-12
XXX - field name in the directory constructor
Tyndyk Maxim Vadimovich Administrator wrote: &fields[XXX from]=2020-10-10&fields[XXX to]=2020-10-12 XXX - field name in the directory constructor
but it can be done without the use of Russian letters, it's not serious to use Russian words in the request ...?
[quote]
Tyndyk Maxim Vadimovich
Administrator wrote:
&fields[XXX from]=2020-10-10&fields[XXX to]=2020-10-12
XXX - field name in the directory constructor
[/quote]
but it can be done without the use of Russian letters, it's not serious to use Russian words in the request ...?
Poltorak Sergey wrote: but it can be done without the use of Russian letters, it's not serious to use Russian words in the request ...?
90% of those who use directories write field names in Russian respectively, filtering is similar and done if you have a more correct proposal (on an example) - provide it, I can redo it if it is better
[quote]
Poltorak Sergey wrote:
but it can be done without the use of Russian letters, it's not serious to use Russian words in the request ...?
[/quote]
90% of those who use directories write field names in Russian
respectively, filtering is similar and done
if you have a more correct proposal (on an example) - provide it, I can redo it if it is better
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