Skip to content

Incident::getListOfIncidents handles query incorrectly #6

@stephanvierkant

Description

@stephanvierkant

I'd like to fetch incidents using the API, but the method handles the query parameters incorrectly.

    $this->api->getListOfIncidents([
        'start' => 0,
        'page_size' => 10,
        'category.id' => {foo},
    ])

This doesn't filter the category field, because Topdesk handles this in a weird way: FIQL instead of normal HTTP params. So it should be ?category.id=={foo}.

See https://developers.topdesk.com/tutorial.html#query

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions