...
Sono disponibili le seguenti risposte:
BASE OUTPUT: https://<iris-host>/gw/rest/api/public-engagements/id=12345
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"id": 17031,
"displayValue": "test terza missione",
"year": 2018,
"ownerSet": [
{
"person": {
"idAb": "105031",
"id": 505,
"pid": "rp00180",
"firstName": "NOME",
"cf": "WSDWSD",
"ORCID": "0000-0002-1195-530X",
"lastName": "COGNOME"
},
"secondaryRoleSet": [
{
"role": {
"id": 20928,
"code": "ownerRolePublicEngagement.manager",
"description": "Responsabile scientifico"
}
}
],
"role": {
"id": 87467,
"description": "Organizzatore"
}
}
],
"mainInternalOrganizationUnitSet": [
{
"organizationUnit": {
"description": "DIPARTIMENTO DI INFORMATICA, SISTEMISTICA E COMUNICAZIONE",
"id": 4401
}
}
],
"ownerPersonCurrentOrLastInternalOrganizationUnitSet": [
{
"organizationUnit": {
"id": 4401,
"description": "DIPARTIMENTO DI INFORMATICA, SISTEMISTICA E COMUNICAZIONE"
}
}
],
"wfState": {
"id": 664,
"description": "draft"
}
} |
FULL OUTPUT: https://<iris-host>/gw/rest/api/public-engagements;full/id=12345
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"uid": "wfItem-17031",
"id": 17031,
"discriminator": "wfItem",
"displayValue": "test terza missione",
"year": 2018,
"snapshot": false,
"lastModified": "2018-04-11T17:39:16",
"estimatedImpact": "asdasdsadsad",
"contributorSet": [
{
"person": {
"pid": "rp05200",
"id": 5526,
"lastName": "COGNOME",
"idAb": "127652",
"cf": "XXXYYY",
"firstName": "NOME"
},
"role": {
"description": "Discussant",
"id": 87546
}
}
],
"ownerSet": [
{
"person": {
"idAb": "105031",
"id": 505,
"firstName": "SECONDO NOME",
"cf": "RCLFNC61M60G535N",
"pid": "rp00180",
"ORCID": "0000-0002-1195-530X",
"lastName": "COGNOME COGNOME"
},
"secondaryRoleSet": [
{
"role": {
"id": 20928,
"code": "ownerRolePublicEngagement.manager",
"description": "Responsabile scientifico"
}
}
],
"role": {
"description": "Organizzatore",
"id": 87467
}
}
],
"publicEngagementProjectLinkSet": [
{
"parent": {
"description": "test terza missione arcelli nuova",
"id": 17031
},
"child": {
"description": "Mucosal Immunization-Cluster Project",
"id": 2349
}
}
],
"wfItemType": {
"parentWfItemTypeSet": {
"identifier": "PEN",
"description": "Terza missione"
},
"identifier": "PEN.COMITATI",
"code": "PEN",
"description": "Partecipazione a comitati per la definizione di standard e norme tecniche"
},
"internalOrganizationUnitSet": [
{
"organizationUnit": {
"id": 30955,
"sourceId": "3499",
"idAb": "112929",
"description": "DIPARTIMENTO DI MEDICINA E CHIRURGIA (SCHOOL OF MEDICINE AND SURGERY)"
},
"role": {
"id": 87466,
"description": "partecipante"
}
},
{
"organizationUnit": {
"id": 4401,
"sourceId": "2952",
"idAb": "110438",
"description": "DIPARTIMENTO DI INFORMATICA, SISTEMISTICA E COMUNICAZIONE"
},
"role": {
"id": 87464,
"description": "coordinatore/organizzatore"
}
}
],
"identifier": "PEN-0016",
"publicEngagementLinkSet": [
{
"parent": {
"id": 16765,
"description": "BIOCCA DAY"
},
"child": {
"description": "test terza missione",
"id": 17031
}
}
],
"wfState": {
"id": 664,
"description": "draft"
},
"partnerSet": [
{
"relevance": {
"description": "nazionale",
"id": 87469
},
"organizationUnit": {
"idAb": "141090",
"id": 38300,
"description": "LUCAS S.R.L."
}
}
],
"description": "descrizione clob molto lunga",
"contributorPersonCurrentOrLastInternalOrganizationUnitSet": [
{
"organizationUnit": {
"description": "DIPARTIMENTO DI MEDICINA E CHIRURGIA (SCHOOL OF MEDICINE AND SURGERY)",
"id": 30955
}
}
],
"geographicalImpact": {
"id": 87472,
"description": "regionale"
},
"targetDescription": "asdasdasdasd",
"ownerPersonCurrentOrLastInternalOrganizationUnitSet": [
{
"organizationUnit": {
"id": 4401,
"description": "DIPARTIMENTO DI INFORMATICA, SISTEMISTICA E COMUNICAZIONE"
}
}
],
"secondaryCategorySet": [
{
"dictionary": {
"id": 87482,
"description": "organizzazione di eventi pubblici"
}
}
],
"externalFinancing": 123123123,
"numTotalDay": 1,
"istitutionalInitiative": false,
"initiativeLocation": "sdfsdfsdfsdfsdf",
"mainInternalOrganizationUnitSet": [
{
"organizationUnit": {
"description": "DIPARTIMENTO DI INFORMATICA, SISTEMISTICA E COMUNICAZIONE",
"id": 4401
}
}
],
"websiteSet": [
{
"url": "asdsadasdsad",
"description": "asdasdasdasdasd"
}
],
"startDate": "2018-04-01T00:00:00",
"activityRecipientSet": [
{
"dictionary": {
"description": "altro",
"id": 87476
}
}
],
"totalBudget": 123123231,
"externalPeople": "pippo pluto",
"evaluationToolSet": [
{
"dictionary": {
"description": "focus group ",
"id": 87477
}
}
],
"visibleOnPortal": true,
"secondaryInternalOrganizationUnitSet": [
{
"organizationUnit": {
"id": 30955,
"description": "DIPARTIMENTO DI MEDICINA E CHIRURGIA (SCHOOL OF MEDICINE AND SURGERY)"
}
}
],
"evaluationEnable": true,
"promoter": "asdasdasdasd",
"periodicEvent": false
} |
Persone
METODO GET
/gw/rest/api/people
...
BASE OUTPUT: https://<iris-host>/gw/rest/api/people?id=12345
Premi della ricerca
METODO GET
/gw/rest/api/prizes
Tutti i parametri contrassegnati dall'asterisco possono essere utilizzati dome identificatori per accedere a una singola risorsa.
Nella versione FULL si possono usare soltanto i parametri contrassegnati da asterisco, in quanto gli altri vengono ignorati.
Campi per l'ordinamento: id, pid, name, lastModified
Parametri della query REST
parametro | valore | descrizione |
---|---|---|
*id | Stringa contenente l'ID dell'elemento | |
*pid | Stringa contenente l'identificatore persistente | |
*miurIdentifier | Stringa contenente il numero miurIdentifier dell'elemento che è stato assegnato dal MIUR | |
name | Stringa contenente la descrizione dell'elemento. Si può usare anche l'asterisco "*" |
ESEMPI
Per recuperare tutti gli elementi:
https://<iris-host>/gw/rest/api/prizes
Per trovare l'item con ID pari a 123456:
https://<iris-host>/gw/rest/api/prizes?id=123456
Per trovare l'item con miurIdentifier pari a 123456:
https://<iris-host>/gw/rest/api/prizes?miurIdentifier=123456
Per trovare l'elemento Scienze:
https://<iris-host>/gw/rest/api/prizes?name=Scienze
Sono disponibili le seguenti risposte:
BASE OUTPUT: https://<iris-host>/gw/rest/api/prizes/id=12345
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"id": 21,
"displayValue": "Premio Nobel per la fisica",
"country": {
"code": "SWE",
"description": "Svezia",
"id": 3337
},
"prizeDescriptionSet": [
{
"awarder": "The Royal Swedish Academy of Sciences, Stockholm, Sweden"
}
],
"awarder": "Accademia Reale Svedese delle Scienze, Stoccolma",
"miurIdentifier": "2"
} |
FULL OUTPUT: https://<iris-host>/gw/rest/api/prizes;full/id=12345
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"uid": "rmItem-21",
"id": 21,
"discriminator": "rmItem",
"displayValue": "Premio Nobel per la fisica",
"lastModified": "2017-12-04T16:58:14",
"lang": {
"code": "ita",
"description": "Italian",
"id": 6523
},
"prizeDescriptionSet": [
{
"lang": {
"code": "eng",
"description": "English",
"id": 5725
},
"awarder": "The Royal Swedish Academy of Sciences, Stockholm, Sweden",
"name": "The Nobel Prize in Physics",
"description": "The Nobel Prize for Physics"
}
],
"keywordSet": [
{
"lang": {
"code": "eng",
"description": "English",
"id": 5725
},
"description": "physics"
},
{
"lang": {
"code": "ita",
"description": "Italian",
"id": 6523
},
"description": "fisica"
},
{
"lang": {
"code": "ita",
"description": "Italian",
"id": 6523
},
"description": "Nobel"
}
],
"country": {
"description": "Svezia",
"code": "SWE",
"id": 3337
},
"rmItemType": {
"description": "prize",
"id": 2
},
"miurIdentifier": "2",
"relevance": {
"id": 26580,
"code": "1",
"description": "Internazionale"
},
"url": "http://www.nobelprize.org/nobel_prizes/physics/",
"awarder": "Accademia Reale Svedese delle Scienze, Stoccolma",
"description": "Premio Nobel per la fisica"
} |