Fonctions communes:API - FIND - FILES : Différence entre versions
(→Informations retournées) |
(→Informations retournées) |
||
Ligne 11 : | Ligne 11 : | ||
==Informations retournées == | ==Informations retournées == | ||
<pre> | <pre> | ||
− | { | + | { |
− | "File":[ | + | "File": [ |
− | { | + | { |
− | "LDE_EXEC_FINDFILES":"" | + | "DosUID": "1", |
+ | "LDE_EXEC_FINDFILES": { | ||
+ | "Output": [ | ||
+ | { | ||
+ | "Name": "Format", | ||
+ | "IsDir": "1", | ||
+ | "FileList": [ | ||
+ | { | ||
+ | "Name": "Format.~dsk", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "11361", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:35.449", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:35.449", | ||
+ | "SystemLastWriteTime": "2011-05-09 14:16:07.812", | ||
+ | "LocalLastWriteTime": "2011-05-09 10:16:07.812", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Format.dpr", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "226", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:35.449", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:35.449", | ||
+ | "SystemLastWriteTime": "2011-05-09 13:56:36.000", | ||
+ | "LocalLastWriteTime": "2011-05-09 09:56:36.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Format.dproj", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "4913", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:35.417", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:35.417", | ||
+ | "SystemLastWriteTime": "2011-05-09 13:56:35.464", | ||
+ | "LocalLastWriteTime": "2011-05-09 09:56:35.464", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Format.dproj.local", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "1115", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:35.464", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:35.464", | ||
+ | "SystemLastWriteTime": "2011-05-09 13:56:36.000", | ||
+ | "LocalLastWriteTime": "2011-05-09 09:56:36.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Format.dsk", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "11361", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:35.449", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:35.449", | ||
+ | "SystemLastWriteTime": "2011-05-09 14:20:05.171", | ||
+ | "LocalLastWriteTime": "2011-05-09 10:20:05.171", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Format.exe", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "3920896", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:57.605", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:57.605", | ||
+ | "SystemLastWriteTime": "2012-03-20 15:22:08.078", | ||
+ | "LocalLastWriteTime": "2012-03-20 11:22:08.078", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Format.identcache", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "114", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:39.574", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:39.574", | ||
+ | "SystemLastWriteTime": "2012-03-20 15:22:09.875", | ||
+ | "LocalLastWriteTime": "2012-03-20 11:22:09.875", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Format.res", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "5280", | ||
+ | "SystemCreationTime": "2011-05-09 13:56:35.449", | ||
+ | "LocalCreationTime": "2011-05-09 09:56:35.449", | ||
+ | "SystemLastWriteTime": "2011-05-03 14:48:50.000", | ||
+ | "LocalLastWriteTime": "2011-05-03 10:48:50.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Main.dcu", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "7136", | ||
+ | "SystemCreationTime": "2011-04-27 15:25:31.276", | ||
+ | "LocalCreationTime": "2011-04-27 11:25:31.276", | ||
+ | "SystemLastWriteTime": "2012-03-20 15:22:07.500", | ||
+ | "LocalLastWriteTime": "2012-03-20 11:22:07.500", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Main.dfm", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "2326", | ||
+ | "SystemCreationTime": "2011-04-27 15:17:25.698", | ||
+ | "LocalCreationTime": "2011-04-27 11:17:25.698", | ||
+ | "SystemLastWriteTime": "2012-03-20 15:22:02.000", | ||
+ | "LocalLastWriteTime": "2012-03-20 11:22:02.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Main.pas", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "1614", | ||
+ | "SystemCreationTime": "2011-04-27 15:17:25.666", | ||
+ | "LocalCreationTime": "2011-04-27 11:17:25.666", | ||
+ | "SystemLastWriteTime": "2012-03-20 15:22:04.000", | ||
+ | "LocalLastWriteTime": "2012-03-20 11:22:04.000", | ||
+ | "ReadOnly": "0" | ||
+ | } | ||
+ | ] | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid", | ||
+ | "IsDir": "1", | ||
+ | "FileList": [ | ||
+ | { | ||
+ | "Name": "Grid.~dsk", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "11784", | ||
+ | "SystemCreationTime": "2011-05-09 19:04:58.703", | ||
+ | "LocalCreationTime": "2011-05-09 15:04:58.703", | ||
+ | "SystemLastWriteTime": "2011-05-09 19:37:06.046", | ||
+ | "LocalLastWriteTime": "2011-05-09 15:37:06.046", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid.dpr", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "224", | ||
+ | "SystemCreationTime": "2011-05-09 14:25:52.531", | ||
+ | "LocalCreationTime": "2011-05-09 10:25:52.531", | ||
+ | "SystemLastWriteTime": "2011-05-09 14:26:02.000", | ||
+ | "LocalLastWriteTime": "2011-05-09 10:26:02.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid.dproj", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "4905", | ||
+ | "SystemCreationTime": "2011-05-09 14:25:52.500", | ||
+ | "LocalCreationTime": "2011-05-09 10:25:52.500", | ||
+ | "SystemLastWriteTime": "2011-05-09 22:15:54.484", | ||
+ | "LocalLastWriteTime": "2011-05-09 18:15:54.484", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid.dproj.local", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "662", | ||
+ | "SystemCreationTime": "2011-05-09 14:25:52.593", | ||
+ | "LocalCreationTime": "2011-05-09 10:25:52.593", | ||
+ | "SystemLastWriteTime": "2011-05-09 22:15:56.000", | ||
+ | "LocalLastWriteTime": "2011-05-09 18:15:56.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid.dsk", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "11623", | ||
+ | "SystemCreationTime": "2011-05-09 19:04:58.703", | ||
+ | "LocalCreationTime": "2011-05-09 15:04:58.703", | ||
+ | "SystemLastWriteTime": "2011-05-25 13:26:43.718", | ||
+ | "LocalLastWriteTime": "2011-05-25 09:26:43.718", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid.exe", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "3992576", | ||
+ | "SystemCreationTime": "2011-05-09 14:54:58.906", | ||
+ | "LocalCreationTime": "2011-05-09 10:54:58.906", | ||
+ | "SystemLastWriteTime": "2011-05-25 13:26:11.093", | ||
+ | "LocalLastWriteTime": "2011-05-25 09:26:11.093", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid.identcache", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "108", | ||
+ | "SystemCreationTime": "2011-05-09 19:04:58.750", | ||
+ | "LocalCreationTime": "2011-05-09 15:04:58.750", | ||
+ | "SystemLastWriteTime": "2011-05-25 13:26:43.734", | ||
+ | "LocalLastWriteTime": "2011-05-25 09:26:43.734", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Grid.res", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "5280", | ||
+ | "SystemCreationTime": "2011-05-09 14:25:52.562", | ||
+ | "LocalCreationTime": "2011-05-09 10:25:52.562", | ||
+ | "SystemLastWriteTime": "2011-05-09 21:53:40.000", | ||
+ | "LocalLastWriteTime": "2011-05-09 17:53:40.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Main.dcu", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "14027", | ||
+ | "SystemCreationTime": "2011-05-09 14:54:58.843", | ||
+ | "LocalCreationTime": "2011-05-09 10:54:58.843", | ||
+ | "SystemLastWriteTime": "2011-05-25 13:26:10.265", | ||
+ | "LocalLastWriteTime": "2011-05-25 09:26:10.265", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Main.dfm", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "4324", | ||
+ | "SystemCreationTime": "2011-05-09 14:25:44.296", | ||
+ | "LocalCreationTime": "2011-05-09 10:25:44.296", | ||
+ | "SystemLastWriteTime": "2011-05-09 21:19:52.000", | ||
+ | "LocalLastWriteTime": "2011-05-09 17:19:52.000", | ||
+ | "ReadOnly": "0" | ||
+ | }, | ||
+ | { | ||
+ | "Name": "Main.pas", | ||
+ | "IsDir": "0", | ||
+ | "FileSize": "6755", | ||
+ | "SystemCreationTime": "2011-05-09 14:25:44.250", | ||
+ | "LocalCreationTime": "2011-05-09 10:25:44.250", | ||
+ | "SystemLastWriteTime": "2011-05-25 13:26:34.000", | ||
+ | "LocalLastWriteTime": "2011-05-25 09:26:34.000", | ||
+ | "ReadOnly": "0" | ||
+ | } | ||
+ | ] | ||
+ | } | ||
+ | ], | ||
+ | "Status": "Ok" | ||
+ | } | ||
} | } | ||
] | ] |
Version du 22 mars 2019 à 13:53
API - FIND - FILES |
Informations envoyées
Retourne la liste des fichiers dans un dossier.
DemAction : FIND
DemCat : FILES
DemOptions :
- NomSession : Même nom de session utilisé lors de l'envoi d'une requête sous forme de JSON.
- DosUID : ID du dossier.
- UID : ID de l'enregistrement (ID de la tâche, No du client, etc.).
Informations retournées
{ "File": [ { "DosUID": "1", "LDE_EXEC_FINDFILES": { "Output": [ { "Name": "Format", "IsDir": "1", "FileList": [ { "Name": "Format.~dsk", "IsDir": "0", "FileSize": "11361", "SystemCreationTime": "2011-05-09 13:56:35.449", "LocalCreationTime": "2011-05-09 09:56:35.449", "SystemLastWriteTime": "2011-05-09 14:16:07.812", "LocalLastWriteTime": "2011-05-09 10:16:07.812", "ReadOnly": "0" }, { "Name": "Format.dpr", "IsDir": "0", "FileSize": "226", "SystemCreationTime": "2011-05-09 13:56:35.449", "LocalCreationTime": "2011-05-09 09:56:35.449", "SystemLastWriteTime": "2011-05-09 13:56:36.000", "LocalLastWriteTime": "2011-05-09 09:56:36.000", "ReadOnly": "0" }, { "Name": "Format.dproj", "IsDir": "0", "FileSize": "4913", "SystemCreationTime": "2011-05-09 13:56:35.417", "LocalCreationTime": "2011-05-09 09:56:35.417", "SystemLastWriteTime": "2011-05-09 13:56:35.464", "LocalLastWriteTime": "2011-05-09 09:56:35.464", "ReadOnly": "0" }, { "Name": "Format.dproj.local", "IsDir": "0", "FileSize": "1115", "SystemCreationTime": "2011-05-09 13:56:35.464", "LocalCreationTime": "2011-05-09 09:56:35.464", "SystemLastWriteTime": "2011-05-09 13:56:36.000", "LocalLastWriteTime": "2011-05-09 09:56:36.000", "ReadOnly": "0" }, { "Name": "Format.dsk", "IsDir": "0", "FileSize": "11361", "SystemCreationTime": "2011-05-09 13:56:35.449", "LocalCreationTime": "2011-05-09 09:56:35.449", "SystemLastWriteTime": "2011-05-09 14:20:05.171", "LocalLastWriteTime": "2011-05-09 10:20:05.171", "ReadOnly": "0" }, { "Name": "Format.exe", "IsDir": "0", "FileSize": "3920896", "SystemCreationTime": "2011-05-09 13:56:57.605", "LocalCreationTime": "2011-05-09 09:56:57.605", "SystemLastWriteTime": "2012-03-20 15:22:08.078", "LocalLastWriteTime": "2012-03-20 11:22:08.078", "ReadOnly": "0" }, { "Name": "Format.identcache", "IsDir": "0", "FileSize": "114", "SystemCreationTime": "2011-05-09 13:56:39.574", "LocalCreationTime": "2011-05-09 09:56:39.574", "SystemLastWriteTime": "2012-03-20 15:22:09.875", "LocalLastWriteTime": "2012-03-20 11:22:09.875", "ReadOnly": "0" }, { "Name": "Format.res", "IsDir": "0", "FileSize": "5280", "SystemCreationTime": "2011-05-09 13:56:35.449", "LocalCreationTime": "2011-05-09 09:56:35.449", "SystemLastWriteTime": "2011-05-03 14:48:50.000", "LocalLastWriteTime": "2011-05-03 10:48:50.000", "ReadOnly": "0" }, { "Name": "Main.dcu", "IsDir": "0", "FileSize": "7136", "SystemCreationTime": "2011-04-27 15:25:31.276", "LocalCreationTime": "2011-04-27 11:25:31.276", "SystemLastWriteTime": "2012-03-20 15:22:07.500", "LocalLastWriteTime": "2012-03-20 11:22:07.500", "ReadOnly": "0" }, { "Name": "Main.dfm", "IsDir": "0", "FileSize": "2326", "SystemCreationTime": "2011-04-27 15:17:25.698", "LocalCreationTime": "2011-04-27 11:17:25.698", "SystemLastWriteTime": "2012-03-20 15:22:02.000", "LocalLastWriteTime": "2012-03-20 11:22:02.000", "ReadOnly": "0" }, { "Name": "Main.pas", "IsDir": "0", "FileSize": "1614", "SystemCreationTime": "2011-04-27 15:17:25.666", "LocalCreationTime": "2011-04-27 11:17:25.666", "SystemLastWriteTime": "2012-03-20 15:22:04.000", "LocalLastWriteTime": "2012-03-20 11:22:04.000", "ReadOnly": "0" } ] }, { "Name": "Grid", "IsDir": "1", "FileList": [ { "Name": "Grid.~dsk", "IsDir": "0", "FileSize": "11784", "SystemCreationTime": "2011-05-09 19:04:58.703", "LocalCreationTime": "2011-05-09 15:04:58.703", "SystemLastWriteTime": "2011-05-09 19:37:06.046", "LocalLastWriteTime": "2011-05-09 15:37:06.046", "ReadOnly": "0" }, { "Name": "Grid.dpr", "IsDir": "0", "FileSize": "224", "SystemCreationTime": "2011-05-09 14:25:52.531", "LocalCreationTime": "2011-05-09 10:25:52.531", "SystemLastWriteTime": "2011-05-09 14:26:02.000", "LocalLastWriteTime": "2011-05-09 10:26:02.000", "ReadOnly": "0" }, { "Name": "Grid.dproj", "IsDir": "0", "FileSize": "4905", "SystemCreationTime": "2011-05-09 14:25:52.500", "LocalCreationTime": "2011-05-09 10:25:52.500", "SystemLastWriteTime": "2011-05-09 22:15:54.484", "LocalLastWriteTime": "2011-05-09 18:15:54.484", "ReadOnly": "0" }, { "Name": "Grid.dproj.local", "IsDir": "0", "FileSize": "662", "SystemCreationTime": "2011-05-09 14:25:52.593", "LocalCreationTime": "2011-05-09 10:25:52.593", "SystemLastWriteTime": "2011-05-09 22:15:56.000", "LocalLastWriteTime": "2011-05-09 18:15:56.000", "ReadOnly": "0" }, { "Name": "Grid.dsk", "IsDir": "0", "FileSize": "11623", "SystemCreationTime": "2011-05-09 19:04:58.703", "LocalCreationTime": "2011-05-09 15:04:58.703", "SystemLastWriteTime": "2011-05-25 13:26:43.718", "LocalLastWriteTime": "2011-05-25 09:26:43.718", "ReadOnly": "0" }, { "Name": "Grid.exe", "IsDir": "0", "FileSize": "3992576", "SystemCreationTime": "2011-05-09 14:54:58.906", "LocalCreationTime": "2011-05-09 10:54:58.906", "SystemLastWriteTime": "2011-05-25 13:26:11.093", "LocalLastWriteTime": "2011-05-25 09:26:11.093", "ReadOnly": "0" }, { "Name": "Grid.identcache", "IsDir": "0", "FileSize": "108", "SystemCreationTime": "2011-05-09 19:04:58.750", "LocalCreationTime": "2011-05-09 15:04:58.750", "SystemLastWriteTime": "2011-05-25 13:26:43.734", "LocalLastWriteTime": "2011-05-25 09:26:43.734", "ReadOnly": "0" }, { "Name": "Grid.res", "IsDir": "0", "FileSize": "5280", "SystemCreationTime": "2011-05-09 14:25:52.562", "LocalCreationTime": "2011-05-09 10:25:52.562", "SystemLastWriteTime": "2011-05-09 21:53:40.000", "LocalLastWriteTime": "2011-05-09 17:53:40.000", "ReadOnly": "0" }, { "Name": "Main.dcu", "IsDir": "0", "FileSize": "14027", "SystemCreationTime": "2011-05-09 14:54:58.843", "LocalCreationTime": "2011-05-09 10:54:58.843", "SystemLastWriteTime": "2011-05-25 13:26:10.265", "LocalLastWriteTime": "2011-05-25 09:26:10.265", "ReadOnly": "0" }, { "Name": "Main.dfm", "IsDir": "0", "FileSize": "4324", "SystemCreationTime": "2011-05-09 14:25:44.296", "LocalCreationTime": "2011-05-09 10:25:44.296", "SystemLastWriteTime": "2011-05-09 21:19:52.000", "LocalLastWriteTime": "2011-05-09 17:19:52.000", "ReadOnly": "0" }, { "Name": "Main.pas", "IsDir": "0", "FileSize": "6755", "SystemCreationTime": "2011-05-09 14:25:44.250", "LocalCreationTime": "2011-05-09 10:25:44.250", "SystemLastWriteTime": "2011-05-25 13:26:34.000", "LocalLastWriteTime": "2011-05-25 09:26:34.000", "ReadOnly": "0" } ] } ], "Status": "Ok" } } ] }
File : Information sur les fichiers trouvés
- LDE_EXEC_FINDFILES : Chemin relatif et nom du fichier.
Nom du document : Fonctions communes:API - FIND - FILES