mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
API CV #8677
This commit is contained in:
parent
4f67ec2f22
commit
b0d73fa3ff
@ -7,20 +7,24 @@ path = `http://localhost/pandora_console/ajax.php`
|
|||||||
- ## Pedir token:
|
- ## Pedir token:
|
||||||
|
|
||||||
- **data:**
|
- **data:**
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
page: include/rest-api/index,
|
"page": include / rest - api / index,
|
||||||
doLogin: 1,
|
"doLogin": 1,
|
||||||
id_user: xxxxxx,
|
"id_user": xxxxxx,
|
||||||
password: xxxxx
|
"password": xxxxx
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
- **ejemplo resultado:**
|
- **ejemplo resultado:**
|
||||||
|
|
||||||
```
|
```
|
||||||
ce015de2941dac933621d23d3f32ac5ead8254b7ea3f390494cfcf586d38de27
|
ce015de2941dac933621d23d3f32ac5ead8254b7ea3f390494cfcf586d38de27
|
||||||
```
|
```
|
||||||
|
|
||||||
- **ejemplo peticion:**
|
- **ejemplo peticion:**
|
||||||
|
|
||||||
```
|
```
|
||||||
curl "http://localhost/pandora_console/ajax.php?page=include/rest-api/index&doLogin=1&id_user=admin&password=pandora"
|
curl "http://localhost/pandora_console/ajax.php?page=include/rest-api/index&doLogin=1&id_user=admin&password=pandora"
|
||||||
```
|
```
|
||||||
@ -28,6 +32,7 @@ path = `http://localhost/pandora_console/ajax.php`
|
|||||||
- ## Traer todos los elementos de una CV.
|
- ## Traer todos los elementos de una CV.
|
||||||
|
|
||||||
- **data:**
|
- **data:**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
page: include/rest-api/index,
|
page: include/rest-api/index,
|
||||||
@ -43,6 +48,7 @@ path = `http://localhost/pandora_console/ajax.php`
|
|||||||
```
|
```
|
||||||
|
|
||||||
- **ejemplo resultado:**
|
- **ejemplo resultado:**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@ -89,6 +95,7 @@ path = `http://localhost/pandora_console/ajax.php`
|
|||||||
```
|
```
|
||||||
|
|
||||||
- **ejemplo peticion:**
|
- **ejemplo peticion:**
|
||||||
|
|
||||||
```
|
```
|
||||||
curl "http://localhost/pandora_console/ajax.php?page=include/rest-api/index&getVisualConsoleItems=1&auth_hash=ce015de2941dac933621d23d3f32ac5ead8254b7ea3f390494cfcf586d38de27&visualConsoleId=7&id_user=admin"
|
curl "http://localhost/pandora_console/ajax.php?page=include/rest-api/index&getVisualConsoleItems=1&auth_hash=ce015de2941dac933621d23d3f32ac5ead8254b7ea3f390494cfcf586d38de27&visualConsoleId=7&id_user=admin"
|
||||||
```
|
```
|
||||||
@ -108,7 +115,40 @@ path = `http://localhost/pandora_console/ajax.php`
|
|||||||
```
|
```
|
||||||
|
|
||||||
- **ejemplo resultado:**
|
- **ejemplo resultado:**
|
||||||
`javascript { "aclGroupId":0, "agentDisabled":false, "cacheExpiration":0, "clockFormat":"time", "clockTimezone":"Europe\/Madrid", "clockTimezoneOffset":3600, "clockType":"digital", "color":"#FFFFFF", "colorStatus":"#B2B2B2", "height":50, "id":212, "isLinkEnabled":true, "isOnTop":false,"label":"", "labelPosition":"down", "link":null, "linkedLayoutId":0, "linkedLayoutNodeId":0, "linkedLayoutStatusType":"default", "moduleDisabled":false, "parentId":0, "showClockTimezone":true, "type":19, "width":100, "x":848, "y":941 }`
|
|
||||||
|
```javascript
|
||||||
|
{
|
||||||
|
"aclGroupId":0,
|
||||||
|
"agentDisabled":false,
|
||||||
|
"cacheExpiration":0,
|
||||||
|
"clockFormat":"time",
|
||||||
|
"clockTimezone":"Europe\/Madrid",
|
||||||
|
"clockTimezoneOffset":3600,
|
||||||
|
"clockType":"digital",
|
||||||
|
"color":"#FFFFFF",
|
||||||
|
"colorStatus":"#B2B2B2",
|
||||||
|
"height":50,
|
||||||
|
"id":212,
|
||||||
|
"isLinkEnabled":true,
|
||||||
|
"isOnTop":false,
|
||||||
|
"label":"",
|
||||||
|
"labelPosition":"down",
|
||||||
|
"link":null,
|
||||||
|
"linkedLayoutId":0,
|
||||||
|
"linkedLayoutNodeId":0,
|
||||||
|
"linkedLayoutStatusType":"default",
|
||||||
|
"moduleDisabled":false,
|
||||||
|
"parentId":0,
|
||||||
|
"showClockTimezone":true,
|
||||||
|
"type":19,
|
||||||
|
"width":100,
|
||||||
|
"x":848
|
||||||
|
"y":941
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
- **ejemplo peticion:**
|
- **ejemplo peticion:**
|
||||||
`curl "http://localhost/pandora_console/ajax.php?page=include/rest-api/index&getVisualConsoleItem=1&auth_hash=ce015de2941dac933621d23d3f32ac5ead8254b7ea3f390494cfcf586d38de27&visualConsoleId=7&visualConsoleItemId=212&id_user=admin"`
|
|
||||||
|
```
|
||||||
|
curl "http://localhost/pandora_console/ajax.php?page=include/rest-api/index&getVisualConsoleItem=1&auth_hash=ce015de2941dac933621d23d3f32ac5ead8254b7ea3f390494cfcf586d38de27&visualConsoleId=7&visualConsoleItemId=212&id_user=admin"
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user