I am using third party API URL from NAV
and it has predefined variable to be passsed in the API.
URL is something like this
MAINAPIHOSTURL/PostedSalesHeaderAPI?$filter=No%20eq%20%27FZPSI-00010%27&$format=json
Here $filter
and $format
is predefine variable used in API section.
when use like this in magento code it show error like
Exception #0 (Exception): Notice: Undefined variable: filter
When i define it using below code like
$filter = ''; $format = '';
in the function it passed empty in url so i am not able to get result from api call.
What can we do for this.