Newer
Older
web-services / mapping-tools / tests.hurl
POST https://mapping-tools.services.istex.fr/v1/rnsr/instituts-cnrs/json?indent=true
content-type: application/json
[
    {"id":1, "value": "200919362L"},
    {"id":2, "value": "200112440X"}
]

HTTP 200
[{
    "id": 1,
    "value": "INEE"
},
{
    "id": 2,
    "value": "INS2I"
}]

POST https://mapping-tools.services.istex.fr/v1/halAuthorId/idRef/json?indent=true
content-type: application/json
[
    { "id":1, "value": "https://data.archives-ouvertes.fr/author/1458607" },
    { "id":2, "value": "https://data.archives-ouvertes.fr/author/1358616" },
    { "id":3, "value": "https://data.archives-ouvertes.fr/author/11165563" },
    { "id":4, "value": "1458607" },
    { "id":5, "value": "1358616" },
    { "id":6, "value": "11165563" },
    { "id":7, "value": 1458607 },
    { "id":8, "value": 1358616 },
    { "id":9, "value": 11165563 }
]

HTTP 200
[{
    "id": 1,
    "value": "http://www.idref.fr/190260483/id"
},
{
    "id": 2,
    "value": "http://www.idref.fr/165835257/id"
},
{
    "id": 3,
    "value": "http://www.idref.fr/182222918/id"
},
{
    "id": 4,
    "value": "http://www.idref.fr/190260483/id"
},
{
    "id": 5,
    "value": "http://www.idref.fr/165835257/id"
},
{
    "id": 6,
    "value": "http://www.idref.fr/182222918/id"
},
{
    "id": 7,
    "value": "http://www.idref.fr/190260483/id"
},
{
    "id": 8,
    "value": "http://www.idref.fr/165835257/id"
},
{
    "id": 9,
    "value": "http://www.idref.fr/182222918/id"
}]

POST https://mapping-tools.services.istex.fr/v1/idRef/orcid/json?indent=true
content-type: application/json
[
    { "id":1, "value": "http://www.idref.fr/190260483/id" },
    { "id":2, "value": "http://www.idref.fr/165835257/id" },
    { "id":3, "value": "http://www.idref.fr/182222918/id" },
    { "id":4, "value": "190260483" },
    { "id":5, "value": "165835257" },
    { "id":6, "value": "182222918" },
    { "id":7, "value": 190260483 },
    { "id":8, "value": 165835257 },
    { "id":9, "value": 182222918 }
]

HTTP 200
[{
    "id": 1,
    "value": "https://orcid.org/0000-0003-1301-3305"
},
{
    "id": 2,
    "value": "https://orcid.org/0000-0002-6809-5654"
},
{
    "id": 3,
    "value": "n/a"
},
{
    "id": 4,
    "value": "https://orcid.org/0000-0003-1301-3305"
},
{
    "id": 5,
    "value": "https://orcid.org/0000-0002-6809-5654"
},
{
    "id": 6,
    "value": "n/a"
},
{
    "id": 7,
    "value": "https://orcid.org/0000-0003-1301-3305"
},
{
    "id": 8,
    "value": "https://orcid.org/0000-0002-6809-5654"
},
{
    "id": 9,
    "value": "n/a"
}]

POST https://mapping-tools.services.istex.fr/v1/homogenize/source/json?indent=true
content-type: application/json
[
    { "id":1, "value": "101 secrets de l'ADN" },
    { "id":2, "value": "101 secrets de l’ADN." },
    { "id":3, "value": "101 secrets de l’ADN. CNRS Éditions, Paris, pp 114-116" },
    { "id":4, "value": "« Gilets jaunes » Hypothèses sur un mouvement" },
    { "id":5, "value": "Bon sang!" }
]

HTTP 200
[{
    "id": 1,
    "value": "101 SECRETS DE L ADN"
},
{
    "id": 2,
    "value": "101 SECRETS DE L ADN"
},
{
    "id": 3,
    "value": "101 SECRETS DE L ADN"
},
{
    "id": 4,
    "value": "\"GILETS JAUNES\" : HYPOTHESES SUR UN MOUVEMENT"
},
{
    "id": 5,
    "value": "n/a"
}]

POST https://mapping-tools.services.istex.fr/v1/homogenize/publisher/json?indent=true
content-type: application/json
[
    { "id":1, "value": "Springer" },
    { "id":2, "value": "Springer Verlag" },
    { "id":3, "value": "John Wiley and Sons" },
    { "id":4, "value": "Wiley-Blackwell: No OnlineOpen" },
    { "id":5, "value": "Elsevier Science inc" },
    { "id":6, "value": "A&M Editions 17" }
]

HTTP 200
[{
    "id": 1,
    "value": "SPRINGER"
},
{
    "id": 2,
    "value": "SPRINGER"
},
{
    "id": 3,
    "value": "WILEY"
},
{
    "id": 4,
    "value": "WILEY"
},
{
    "id": 5,
    "value": "ELSEVIER"
},
{
    "id": 6,
    "value": "A&M EDITIONS"
}]

POST https://mapping-tools.services.istex.fr/v1/homogenize/documentType/json?indent=true
content-type: application/json
[
    { "id":1, "value": "ART" },
    { "id":2, "value": "Biography" },
    { "id":3, "value": "Congress" },
    { "id":4, "value": "News" },
    { "id":5, "value": "Technical Report" }
]

HTTP 200
[{
    "id": 1,
    "value": "Article"
},
{
    "id": 2,
    "value": "Article"
},
{
    "id": 3,
    "value": "Proceedings Paper"
},
{
    "id": 4,
    "value": "News Item"
},
{
    "id": 5,
    "value": "Article"
}]

POST https://mapping-tools.services.istex.fr/v1/rnsr/2022/json?indent=true
content-type: application/json
[
    { "id":1, "value": "200816947R" },
    { "id":2, "value": "202023588G" },
    { "id":3, "value": "201521249L" },
    { "id":4, "value": "200816947R" },
    { "id":5, "value": "199018578S" },
    { "id":6, "value": "202023587F" },
    { "id":7, "value": "202024262P" },
    { "id":8, "value": "201722766B" },
    { "id":9, "value": "201722545L" },
    { "id":10, "value": "200711922H" }
]

HTTP 200

POST https://mapping-tools.services.istex.fr/v1/inspire-labos/in2p3-labos/json?indent=true
content-type: application/json
[
    { "id":1, "value": "910133" },
    { "id":2, "value": "907607" },
    { "id":3, "value": "902989" },
    { "id":4, "value": "903453" },
    { "id":5, "value": "1608212" },
    { "id":6, "value": "903100" },
    { "id":7, "value": "907588" },
    { "id":8, "value": "903099" },
    { "id":9, "value": "1776405" },
    { "id":10, "value": "911249" }
]

HTTP 200
[{
    "id": 1,
    "value": "APC Paris"
},
{
    "id": 2,
    "value": "CC-IN2P3"
},
{
    "id": 3,
    "value": "CPPM"
},
{
    "id": 4,
    "value": "GANIL"
},
{
    "id": 5,
    "value": "IJClab"
},
{
    "id": 6,
    "value": "IJClab"
},
{
    "id": 7,
    "value": "IJClab"
},
{
    "id": 8,
    "value": "IJClab"
},
{
    "id": 9,
    "value": "IJClab"
},
{
    "id": 10,
    "value": "IP2I Lyon"
}]

POST https://mapping-tools.services.istex.fr/v1/inspire-category/meta-category/json?indent=true
content-type: application/json
[
    { "id":1, "value": "Experiment-HEP" },
    { "id":2, "value": "Phenomenology-HEP" },
    { "id":3, "value": "Theory-HEP" },
    { "id":4, "value": "Math and Math Physics" },
    { "id":5, "value": "Gravitation and Cosmology" },
    { "id":6, "value": "Astrophysics" },
    { "id":7, "value": "Data Analysis and Statistics" },
    { "id":8, "value": "Condensed Matter" },
    { "id":9, "value": "Other" },
    { "id":10, "value": "Theory-Nucl" }
]

HTTP 200
[{
    "id": 1,
    "value": "Particules et hadronique"
},
{
    "id": 2,
    "value": "Particules et hadronique"
},
{
    "id": 3,
    "value": "Particules et hadronique"
},
{
    "id": 4,
    "value": "Particules et hadronique"
},
{
    "id": 5,
    "value": "Astroparticule et cosmologie"
},
{
    "id": 6,
    "value": "Astroparticule et cosmologie"
},
{
    "id": 7,
    "value": "Calcul et données"
},
{
    "id": 8,
    "value": "Interdisciplinaire et autres"
},
{
    "id": 9,
    "value": "Interdisciplinaire et autres"
},
{
    "id": 10,
    "value": "Nucléaire et applications"
}]

POST https://mapping-tools.services.istex.fr/v1/rnsr-year/instituts-cnrs?indent=true
content-type: application/json
[
    {"id":1, "value": "200919362L|2020"},
    {"id":2, "value": "200112440X|2022"}
]

HTTP 200
[{
    "id": 1,
    "value": "INEE (P)"
},
{
    "id": 2,
    "value": "INS2I (P);INSIS (S)"
}]

POST https://mapping-tools.services.istex.fr/v1/hospital/affiliations?indent=true
content-type: application/json
[
    {"id" :"1","value": "Hop La Pitie Salpetriere, AP HP, Serv Med Interne, Ctr Natl Reference Histiocytoses, Paris, France"},
    {"id" :"2","value": "UMR CNRS 7021, Illkirch Graffenstaden, France"},
    {"id" :"3","value": "Bergonie Inst, Dept Radiat Oncol, Bordeaux, France"},
    {"id" :"4","value": "CHU Besancon, Serv Neurol, 2 Blvd Fleming, F-25030 Besancon, France"},
    {"id" :"5","value": "CHU St Etienne, Ave Albert Raimond, F-42055 St Etienne, France"}
]


HTTP 200
[{
    "id": "1",
    "value": "APHP"
},
{
    "id": "2",
    "value": "n/a"
},
{
    "id": "3",
    "value": "Institut Bergonie Bordeaux"
},
{
    "id": "4",
    "value": "CHU Besancon"
},
{
    "id": "5",
    "value": "CHU St Etienne"
}]