http://api.domaine.com/index.php
do=User.connect
,
do=project.save
, ... do=methodToCall&arg1=value1&arg=value1&arg2=value2
Note : If no render format has been specified or not supported yet, the Web API will return HTTP/1.0 400 Bad Request.
To connect user to the web api service :
GET /?&render=${RESPONSE_FORMAT}&do=User.connect&user=${LOGIN}&password=${PASSWORD}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
user |
string (required) | User login. |
password |
string (required) | User passwod. |
ts |
integer (optional) | The current time stamp. |
utf8 |
string (optional) |
utf parameter can be :
|
To disconnect user from the web api service :
GET /?&render=${RESPONSE_FORMAT}&do=User.connect&user=${LOGIN}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
user |
string (required) | User login. |
ts |
integer (optional) | The current time stamp. |
utf8 |
string (optional) | utf parameter can be :
|
To keep-alive the tracker of this user session :
GET /?&render=${RESPONSE_FORMAT}&do=User.keepAlive
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
ts |
integer (optional) | The current time stamp. |
utf8 |
string (optional) | utf parameter can be :
|
Project.list, will return list of projects avaible on da server
GET /?&render=${RESPONSE_FORMAT}&do=Project.list
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
Project.open, will return da xml content of da given project name if exist on the server
GET /?&render=${RESPONSE_FORMAT}&do=Project.open&name=${PROJECT_NAME}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
To save an existing project :
POST
/?&render=${RESPONSE_FORMAT}&do=Project.save&name=${PROJECT_NAME}
code=${PROJECT_CODE_XML}
Request parameters | Value | Methode | Description |
---|---|---|---|
render |
string (required) | GET | response format. |
do |
string (required) | GET | action to execute by the web service. |
name |
string (required) | GET | project name to delete. |
code |
string (required) | POST | project code source XML. |
ts |
integer (optional) | GET | The current time stamp. |
utf8 |
string (optional) | GET | utf parameter can be :
|
To test an existing project :
GET /?&render=${RESPONSE_FORMAT}&do=Project.test&name=${PROJECT_NAME}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
name |
string (required) | project name to delete. |
ts |
integer (optional) | The current time stamp. |
utf8 |
string (optional) | utf parameter can be :
|
will return defined nodes of da given project name if exist on the server
GET /?&render=${RESPONSE_FORMAT}&do=Project.Node.list&name=${PROJECT_NAME}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
name |
string (required) | project name. |
To run an existing project :
GET /?&render=${RESPONSE_FORMAT}&do=Project.run&name=${PROJECT_NAME}&node=${NODE_NAME}
&offset=${LIMIT_RESULT_OFFSET}&rows=${LIMIT_RESULT_MAX_ROWS}&logid=${UNIQUE_ID_FOR_LOG}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
name |
string (required) | project name to run. |
node |
string (optional) | node name to run. |
logid |
string (optional) | an id, to be used by MixDEM ETL Engine to save the log of the execution |
offset |
integer (optional) | set result offset. |
rows |
integer (optional) | limit result max rows. |
ts |
integer (optional) | The current time stamp. |
utf8 |
string (optional) | utf parameter can be :
|
To delete an existing project :
GET /?&render=${RESPONSE_FORMAT}&do=Project.delete&name=${PROJECT_NAME}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
do |
string (required) | action to execute by the web service. |
name |
string (required) | project name to delete. |
ts |
integer (optional) | The current time stamp. |
utf8 |
string (optional) | utf parameter can be :
|
Open the Log of the last executed project done by Project.run
:
GET /?&render=${RESPONSE_FORMAT}&do=Project.getExecLog&logid=${UNIQUE_ID_FOR_LOG}
Request parameters | Value | Description |
---|---|---|
render |
string (required) | response format. |
logid |
string (required) | id of log. it must be the same used on Project.run |
ts |
integer (optional) | The current time stamp. |
utf8 |
string (optional) | utf parameter can be :
|