Hello.
Ami works through a proxy and an error occurs:
When receiving the URL href = "http: // localhost: 64881 / api / task / GetNextTask", the following error occurred Access is denied The access control system does not allow you to execute your request now. Contact your administrator.
How can fix it?
Hello.
I start reading the attribute on a schedule using AddScheduleTarget. After the task completes successfully, I need to stop the scheduled task.
When I try to delete the schedule (using DeleteScheduleTarget ) an error occurs in ReaderService.
How to do it right?
Hello,
I'm trying to get a certain number of tasks, but api returns fewer records than there are in the database.
HTTP_AMI.post('/api/Task/ListTasks', {"Targets": 8062,"DeviceId": deviceId, "ObjectId": 0,"AttributeId":0,"Count":tasksCount}).
If "Targets" = 32, then it returns the correct number of tasks.
Executes correctly if count is 0 - returns all records.
Hello,
How I can adjust the time in the schedule. What does the first group *. *. * mean? Is it possible to set a specific start time and frequency of the task?
Hello!
What is the logic of using WaitChange and GetNextTask requests?
As an example - we need to know the result of added task. Should we poll the server asking the result?
What is the best way of polling?
Hi,
I try to delete schedule and use API: /api/schedule/DeleteSchedule with parameter: {ScheduleIds: [6, 6], AttributeIds: [563, 1150]} and an error occurred. Please tell me what is my mistake?
Hello!
Tried to read ActivityCalendar using Director + Ami and got an exception
System.Data.SQLite.SQLiteException: "SQL logic error
unrecognized token: "'""