Difference between revisions of "Return format"

From EN Ikoula wiki
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽
Line 1: Line 1:
 +
<span data-link_translate_de_title="Rückgabeformat"  data-link_translate_de_url="R%C3%BCckgabeformat"></span>[[:de:Rückgabeformat]][[de:Rückgabeformat]]
 
<span data-link_translate_nl_title="Terugkeer formaat"  data-link_translate_nl_url="Terugkeer+formaat"></span>[[:nl:Terugkeer formaat]][[nl:Terugkeer formaat]]
 
<span data-link_translate_nl_title="Terugkeer formaat"  data-link_translate_nl_url="Terugkeer+formaat"></span>[[:nl:Terugkeer formaat]][[nl:Terugkeer formaat]]
 
<span data-link_translate_it_title="Formato di ritorno"  data-link_translate_it_url="Formato+di+ritorno"></span>[[:it:Formato di ritorno]][[it:Formato di ritorno]]
 
<span data-link_translate_it_title="Formato di ritorno"  data-link_translate_it_url="Formato+di+ritorno"></span>[[:it:Formato di ritorno]][[it:Formato di ritorno]]

Revision as of 16:49, 5 October 2015

de:Rückgabeformat nl:Terugkeer formaat it:Formato di ritorno pt:Formato de retorno es:Formato de devolución fr:Format de retour

This article has been created by an automatic translation software. You can view the article source here.


Introduction

IKoula API offers two format s back for answers : XML & JSON

Explanations

Each method available in the API returns a response.
By default, the return of the API is XML.
It is possible to change this format of return by passing an extra parameter format , set to be JSON either XML . If you add this parameter, do not forget to add it before the generation of your signature (see Attention)

Examples

Here are some examples of calls GET :

Default XML
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
XML desired
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&format=xml&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
JSON souhaité
https://api.ikoula.com/index.php?r=wsflex/vmlist&login=mail@example.com&crypted_password=password_encrypted&format=json&signature=xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Attention

Si vous précisez le format de retour, vous ajoutez un paramètre supplémentaire à l'appel API. Il ne faut donc pas oublier de l'ajouter FRONT generate your signature (see WIKI de The signature generation)



This article seemed you to be useful ?

0



You are not allowed to post comments.