Hello,
thanks for supporting this forum with your answers!
My problem at this time is that I have to make a REST client e.g. in PHP and I cannot find a starting example for the Creation of a session. (I follow pages 20-21 of Web Service Manual 2.4).
Even though when I put curl commands one-by-one they seem to work, however when I write a script they don't (415 error status).
Would you please provide one working example as script (not only curl command) for the creation of a session?
Regards,
Dimitris
Dear Dimitris,
unfortunatly we have no examples of PHP scripts, we are using REST web services from Java and JavaScript (through framework).
Best regards.
-- CMDBuild Team
Previously Dimitris wrote:
Hello,
thanks for supporting this forum with your answers!
My problem at this time is that I have to make a REST client e.g. in PHP and I cannot find a starting example for the Creation of a session. (I follow pages 20-21 of Web Service Manual 2.4).
Even though when I put curl commands one-by-one they seem to work, however when I write a script they don't (415 error status).
Would you please provide one working example as script (not only curl command) for the creation of a session?
Regards,
Dimitris
Thanks, no problem!
One more simple question concerning REST...
I guess I can have the data of cards by accessing the /classes/Asset/cards.
This replies with a full list of attributes per card, i.e., Condition, Model, Area, ... IsInFloor.
But how can I get the relations of every card? I expected it would be given there.
Any help?
Dimitris
Dear Dimitris,
relations can be managed trought the "domains" resouce. Please refer to the
Web Service Manual ("Domains and relations management" of REST web service).
Best regards.
-- CMDBuild Team
Previously Dimitris wrote:
Thanks, no problem!
One more simple question concerning REST...
I guess I can have the data of cards by accessing the /classes/Asset/cards.
This replies with a full list of attributes per card, i.e., Condition, Model, Area, ... IsInFloor.
But how can I get the relations of every card? I expected it would be given there.
Any help?
Dimitris
Hello,
may you provide an example of use REST with Javascript.
Thanks
Marcella
Previously Tecnoteca wrote:
Dear Dimitris,
unfortunatly we have no examples of PHP scripts, we are using REST web services from Java and JavaScript (through framework).
Best regards.
-- CMDBuild Team
Previously Dimitris wrote:
Hello,
thanks for supporting this forum with your answers!
My problem at this time is that I have to make a REST client e.g. in PHP and I cannot find a starting example for the Creation of a session. (I follow pages 20-21 of Web Service Manual 2.4).
Even though when I put curl commands one-by-one they seem to work, however when I write a script they don't (415 error status).
Would you please provide one working example as script (not only curl command) for the creation of a session?
Regards,
Dimitris