Request Zusammenfassung
<
and >
kennzeichnen Bereiche in denen Beispielwerte verwendet wurden.
Request URI https://access.contagt.com/unified.php
↪ request
{
/* Global Parameters */
"apiKey": "STRING_API_KEY",
"functions": "API_METHOD_0<, API_METHOD_1 <, ...>>",
<
"strict": Boolean, Default: false, // See Result types
"warnings": Boolean, Default false, // If set to true, the API will print execution warnings.
"lenient": Boolean, Default: false, // If set to true, the API will continue execution on invalid Types in Subrequests
"forceNamed": Boolean, Default: false, // If set to true, the API will handle the API Method with named Parameters, not matter what was implemented in the RPC.
"userToken": "A_VALID_USERTOKEN", // A Usertoken can be submitted if Cookies are not available and Login already succeeded
"i18n": "de_DE", // or en_EN, en_UK, fr_FR, ...
"v": 17, // Client API Version Implementation (What API Level does the Client require
>
"0": { // The Index is the Index of the API-Method in the functions string above.
/* The Parameters are different from API Method to API Method */
"param1": "param_content",
"param2": "param_content"
}<,
"1": {
"param" : true
}
<, ...>
>
}
↩ response single method; non-strict
{
success : true,
response: { ... }
}
↩ response non-strict
{
success : true,
response: {
"API_METHOD_0" : { ... }
<,
"API_METHOD_1" : { ... }
<, ... >
>
}
}
↩ response single method; strict
{
success : true,
response: {
"API_METHOD_0" : [{ ... }<, ...>]
}
}
↩ response strict
:
{
success : true,
response: {
"API_METHOD_0" : [{ ... }<, ...>]
<,
"API_METHOD_1" : [{ ... }<, ...>]
<, ... >
>
}
}