...
Nella versione FULL si possono usare soltanto i parametri contrassegnati da asterisco, in quanto gli altri vengono ignorati.
Campi per l'ordinamento: id id, pid, name, startDate, lastModified
Parametri della query REST
All parameters marked with a "*" can be used as an identifier to get a single resource as explained in this section
In FULL version only "starred" query parameters are usable: the other are silently ignored
Available sort fields: id, pid, name, startDate, lastModified
Request Query Parameters
parametro | valore | descrizione |
---|
*id |
Stringa contenente l'ID dell'elemento | |
*pid |
Stringa contenente l'identificatore persistente | |
*idAb |
Stringa contenente l'IdAb dell'elemento assegnato da U-GOV |
*sourceId |
Stringa contenente il sourceId dell'elemento dato da altre applicazioni | |
name |
a String containing the description of the item. "*" character can be used. See response for values
Examples:
Stringa contenente la descrizione dell'elemento. Si può usare anche il carattere asterisco "*" |
ESEMPI:
Per recuperare tutti gli elementi: To search all Item
https://arts.units.it<iris-host>/gw/rest/api/
libraries
To search Item with ID like 123456Per trovare l'item con ID pari a 123456:
https://arts.units.it<iris-host>/gw/rest/api/
libraries?id=123456
To search Item with idAb like 123456Per trovare l'item idAb pari a 123456:
https://arts.units.it<iris-host>/gw/rest/api/libraries?idAb=123456
To search Item with name like Per trovare l'elemento Scienze:
https://arts.units.it
<iris-host>
/gw/rest/api/libraries?name=Scienze
...
Sono disponibili le seguenti risposte:
BASE OUTPUT: https://
...
<iris-host>
/gw/rest/api/libraries/id=12345
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"id": 1727,
"displayValue": "ex-BIBLIOTECA CENTRALE",
"sourceId": "1112",
"idAb": "112079"
} |
FULL OUTPUT: https://
...
<iris-host>/gw/rest/api/libraries;full/id=12345
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"uid": "organizationUnit-1727",
"id": 1727,
"discriminator": "organizationUnit",
"displayValue": "ex-BIBLIOTECA CENTRALE",
"lastModified": "2015-12-30T00:00:00",
"sourceType": "STRUTTURE",
"sourceId": "1112",
"idAb": "112079",
"organizationUnitType": {
"description": "library",
"id": 154
},
"description": "ex-BIBLIOTECA CENTRALE",
"sourceSubtype": "BIB",
"abbreviation": "BIBLIOTECA CENTRALE"
} |