Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
themeEclipse
titleTerza Missione: Risposta BASE
linenumberstrue
collapsetrue
{
    "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"
    }
}

...

Code Block
themeEclipse
titleTerza Missione: Risposta FULL
linenumberstrue
collapsetrue
{
    "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
}

...


BASE OUTPUT: https://<iris-host>/gw/rest/api/people?id=12345


Premi della ricerca

METODO GET 

/gw/rest/api/prizes

...

Parametri della query REST

parametrovaloredescrizione

*id

string

Stringa contenente l'ID dell'elemento

*pid

string

Stringa contenente l'identificatore persistente

*miurIdentifier

string

Stringa contenente il numero miurIdentifier dell'elemento che è stato assegnato dal MIUR

name

string

Stringa contenente la descrizione dell'elemento. Si può usare anche l'asterisco "*"


ESEMPI

Per recuperare tutti gli elementi: 

...

Code Block
themeEclipse
titleRISPOSTA Premi: risposta BASE
linenumberstrue
collapsetrue
{
    "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"
}

...

Code Block
themeEclipse
titleRISPOSTA Premi: risposta FULL
linenumberstrue
collapsetrue
{
    "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"
}


Biblioteche

METODO GET 

/gw/rest/api/libraries

Tutti i parametri contrassegnati dall'asterisco possono essere utilizzati come 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

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
parametervaluedescription

*id

string

a String containing the ID of the item. See response for values

*pid

string

a String containing the persistent identifier. See response for values

*idAb

string

a String containing the idAb number of the item given by U-GOV. See response for values

*sourceId

string

a String containing the sourceId of the item given by third parties application. See response for values

name

string

a String containing the description of the item. "*" character can be used. See response for values

Examples:

To search all Item


					https://arts.units.it/gw/rest/api/libraries
					

To search Item with ID like 123456


					https://arts.units.it/gw/rest/api/libraries?id=123456
					

To search Item with idAb like 123456


					https://arts.units.it/gw/rest/api/libraries?idAb=123456
					

To search Item with name like Scienze:


					https://arts.units.it/gw/rest/api/libraries?name=Scienze
					

available response representations: