All Questions
38 questions
0
votes
1
answer
136
views
Priority API: Getting image link instead of base64 content
When I fetch recent/new items with (full data row), the field: EXTFILENAME can cause system halt.
In order to fix that, I have to use the "fields" filter! My query will stop being dynamic, ...
2
votes
1
answer
1k
views
Display @odata property or index value with PHP from JSON
Using PHP and I have JSON from a URL that looks like this:
{
"@odata.count": 66547,
"value": [
{
"@odata.context": "https://api.bridgedataoutput.com/...
0
votes
1
answer
797
views
PHP Microsoft Graph SDK: How to handle a JSON Batch Response?
When performing a Microsoft Graph batch request (partially displayed below), an object response gets returned that contains an array of arrays with all the requested calendar information. However, ...
1
vote
1
answer
385
views
How to run POData-Laravel?
I'm new to laravel and I tried to run POData (https://github.com/Algo-Web/POData-Laravel). For that I needed to downgrade my laravel version and the tinker version in composer:json:
"require": {
...
1
vote
0
answers
963
views
PHP Curl and OData
I'm trying to query to an OData web service. I tried doing this in Python and it worked fine. But when I tried to do it in PHP, I get the following error:
Curl error: Failed to connect to fse-na-...
0
votes
1
answer
2k
views
Update Customer data in MS NAV using OData from PHP not working
I'm trying to update Customer data in MS NAV 2017 using OData and PHP.
I can read and create Customers using the /CustomerCard uri.
But I can't get the update working (PATCH nor MERGE nor PUT).
I try ...
0
votes
1
answer
2k
views
How to get the value in the odata.nextlink (json file) in PHP
This should be super simple but I can't seem to figure it out. I need syntax to grab the value of the odata.nextlink from the json file to use to grab the next set of data. Using PHP/Curl. I have ...
2
votes
1
answer
1k
views
Call ODATA service with PHP file_get_contents
I need to call ODATA services with php7.0 under Debian 9.
I'm trying to use "file_get_contents" function but when I run the script
$call_opts=array(
"http"=>array(
"method"=>"GET",
...
6
votes
0
answers
713
views
Create OData provider for Excel - Power query shows $metadata xml
I'm creating an OData provider to be used with Excel with a PHP library: https://github.com/Algo-Web/POData
I've managed to deliver a Sample data set in the browser on my local network with:
http://...
2
votes
1
answer
389
views
How to access odata that produced by Nav webservice into html layout using PHP
I try to get odata produced by a navision webservice. When I directly access the url given using chrome browser, the page asks for user name and password and then chrome shows xml data as expected.
...
1
vote
0
answers
1k
views
How to query OData API using PHP with a API Key and API Secret? Getting 'No URL set!' curl error
I am new to APIs and I am trying to create an application which would fetch some data from an OData API provided by Cornerstone OnDemand LMS. Its called Reporting API. The Cornerstone OnDemand ...
0
votes
0
answers
129
views
Yii2 composer installed library does not recognized by namespaces
I am trying to deploy a Yii2 app that consumes OData services. But I am having a bit problem: I choose https://github.com/saintsystems/odata-client-php (OData Client library from SaintSystems), I ...
1
vote
0
answers
971
views
How to ?$filter data using OData through WebAPI (PHP / cURL)
I'm GETing data in JSON through a WebAPI by sending cURL requests to the server - basically works. Problem starts when I'm trying to filter for a field in (sorry, layman's terms) the 2nd layer of the ...
0
votes
2
answers
504
views
How can I change my date to this format?
I currently have a date formated like this:
2017-11-02 11:44:24
However; I need it in this format: 2014-03-11T14:49:52
This is due to the use of a RESTful API based on oData. How can I achieve this ...
0
votes
1
answer
989
views
Odata service not fully return json in php Curl
Thank you in advance
I tried to get odata service url using curl using following code
<?php
$url = "serviceurl/odata.srv/Users?$format=json&$expand=EmployeeDetails/ClientDetails/...