Skip to content

[Bug in SDK]: task.elapseditem.getlist error call #180

@mesilov

Description

@mesilov

version(s) affected

1.3.0

Description

work

curl -X POST
-H "Content-Type: application/json"
-H "Accept: application/json"
-d '[595739, {"ID": "desc"}]'
https://bitrix24.team/rest/1246/ххх/task.elapseditem.getlist

How to reproduce

dont work

$hours = $b24Service->core->call('task.elapseditem.getlist', [
        (int) $taskIds[0],
        ['ID' => 'desc']
    ])->getResponseData()->getResult();

FATAL ERROR: error_core - tasks_error_exception_#256; param #0 (taskid) for method ctaskelapseditem::getlist() expected to be of type "integer", but given something else.; 256/te/wrong_arguments

Possible Solution

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug in SDKSomething isn't working in SDK

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions