API Titoli
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
API TitoliQuesta API consente di consultare, creare e modificare dei titoli. Per gestire le API delle rese tramite autenticazione è necessario utilizzare lo scope: title_api_scope. OperazioniL'API espone i seguenti metodi:
Ricerca titoliRicerca titoliConsente di ricercare i titoli presenti a catalogo in base ai parametri di ricerca forniti.Risponde a richieste GET verso: /titoli/title La ricerca accetta i seguenti parametri:
L'operazione restituisce un oggetto JSON con la seguente struttura:
Elenco dei titoliL’elenco di titoli è un array di oggetti JSON aventi la seguente struttura:
Elenco dei facet
L'API può restituire i seguenti codici di errore:
Esempio richiesta:GET https://api.messaggerielibri.it/titoli/title?ean=9788807492433&pageIndex=1 Authorization: Bearer[TOKEN JWT]
Esempio risposta:{
"totalCount": 1,
"totalPages": 1,
"page": {
"index": 1,
"size": 50,
"from": 1,
"to": 1
},
"titles": [
{
"coverUrl": "https://img.messaggerielibri.it/images/9788807492433_0_500_0_0.jpg",
"title": "CINQUE VITE DI GIORGIO SCERBANENCO",
"bibliographicTitle": "CINQUE VITE DI GIORGIO SCERBANENCO",
"materialCode": "000000008807492433",
"ean": "9788807492433",
"shortTitle": "CINQUE VITE DI GIORGIO SCERB",
"author": "SCERBANENKO ALBERTO",
"bibliographicAuthor": "CINQUE VITE DI GIORGIO SCERBANENCO",
"publisher": "FELTRINELLI EDITORE",
"vat": {
"code": "L",
"description": "ART. 74 IVA LIBRO ASSOLTA"
},
"creationDate": "2018-05-18T12:00:00+02:00",
"lastChangeDate": "2018-11-05",
"publicationDate": "2018-10-01",
"launchYear": 2023,
"launchNumber": "60.0",
"language": "IT",
"price": 0.00,
"availability": "other",
"vendor": {
"code": "0000000243",
"description": "FELTRINELLI EDITORE"
},
"articleSaleStatus": {
"code": "0",
"description": "DI PROSSIMA PUBBLICAZIONE"
},
"articleStatus": {
"code": "0",
"description": "DI PROSSIMA PUBBLICAZIONE"
},
"editorialSeries": {
"code": "VARIA",
"description": "VARIA"
},
"genre": "01",
"printOnDemand": false,
"publishOnFol": false,
"returnRecirculation": false,
"workingState": "validated",
"dimensions": {
"netWeight": 650.000,
"height": 10.000,
"width": 120.000,
"length": 240.000
},
"registrationLimit": "2023-08-29T00:00:00+02:00",
"commodityType": {
"code": "99",
"description": "non classificati"
}
}
]
}
FeaturesPer utilizzare il metodo API è necessario possedere una o più delle seguenti features:
altrimenti viene restituito 403 (Forbidden) Recupero di un singolo titoloRecupero di un singolo titoloConsente di ottenere il titolo presente a catalogo corrispondente al codice EAN fornito.Risponde a richieste GET verso: /titoli/title/{eanCode} , dove {eanCode} rappresenta il codice EAN del titolo che si vuole recuperare. L’operazione restituisce un oggetto JSON contenente i seguenti campi:
L’API può restituire i seguenti codici di errore:
Esempio richiesta:GET https://api.messaggerielibri.it/titoli/title/9788850211487 Authorization: Bearer[TOKEN JWT]
Esempio risposta:{
"coverUrl": "https://img.messaggerielibri.it/images/9788850211487_0_500_0_0.jpg",
"title": "LA CONGIURA DI MERLINO",
"bibliographicTitle": "congiura di Merlino, La",
"materialCode": "000000008850211481",
"ean": "9788850211487",
"shortTitle": "CONGIURA DI MERLINO",
"author": "WYNNE JONES",
"bibliographicAuthor": "Wynne Jones Diana",
"vat": {
"code": "L",
"description": "ART. 74 IVA LIBRO ASSOLTA"
},
"creationDate": "2006-03-17T11:00:00Z",
"lastChangeDate": "2018-11-05",
"publicationDate": "2006-03-17",
"language": "IT",
"price": 8.00,
"volumeNumber": "9999",
"vendor": {
"code": "0000000781",
"description": "T.E.A. TASCABILI EDITORI ASSOC"
},
"articleSaleStatus": {
"code": "0",
"description": "DI PROSSIMA PUBBLICAZIONE"
},
"articleStatus": {
"code": "0",
"description": "DI PROSSIMA PUBBLICAZIONE"
},
"editorialSeries": {
"code": "TEADUE",
"description": "TEADUE BIBLIOTECA AVV. FANTASTICHE"
},
"genre": "01",
"launchCopies": 0,
"mainPlant": {},
"mrpType": {},
"printOnDemand": false,
"publishOnFol": false,
"returnRecirculation": false,
"returnStorageLocation": {},
"vendorWarehouse": true,
"workingState": "validated",
"dimensions": {
"netWeight": 650.000,
"height": 10.000,
"width": 120.000,
"length": 240.000
},
"commodityType": {
"code": "99",
"description": "non classificati"
},
"shelf": "9/10 anni",
"sector": {
"code": "7",
"description": "RAGAZZI"
},
"containedInPackage": false,
"hasPromotionCampaign": false
}
FeaturesPer utilizzare il metodo API è necessario possedere una o più delle seguenti features:
altrimenti viene restituito 403 (Forbidden) Creazione titoliCreazione titoliConsente di inserire nuovi titoli a catalogoRisponde a richieste POST verso: /titoli/title Per identificare il titolo da creare viene richiesto un oggetto JSON contenente i seguenti campi:
L'API può restituire i seguenti codici di errore:
|
|
Nome Campo |
Descrizione Campo |
Obbligatorio |
Tipo Dato |
Note |
|
ean |
Codice EAN |
X |
string |
|
|
shortTitle |
Titolo breve |
X |
string |
Lunghezza massima: 30 |
|
longTitle |
Titolo completo |
X |
string |
Lunghezza massima: 55 |
|
author |
Autore |
|
string |
Lunghezza massima: 44 |
|
designer |
Disegnatore |
|
string |
Lunghezza massima: 22 |
|
screenwriter |
Sceneggiatore |
|
string |
Lunghezza massima: 22 |
|
vendorCode |
Codice editore |
|
string |
|
|
editorialSeriesCode |
Codice collana |
X |
string |
|
|
genre |
Codice genere |
|
string |
Modificabile solo se Stato Vendita = 0 e titolo non iscritto al lancio |
|
vatCode |
Codice aliquota IVA |
|
string |
Lunghezza massima: 1 |
|
language |
Codice lingua |
|
string |
Può avere uno dei seguenti valori: IT, EN, ES, FR, DE |
|
publicationDate |
Data di pubblicazione |
|
date |
Modificabile solo se Stato Vendita = 0 e titolo non iscritto al lancio |
|
originalPublisher |
Editore originale |
Se language diverso da “IT” |
string |
Lunghezza massima: 60 |
|
titleVendorCode |
Codice titolo presso l'editore |
|
string |
Lunghezza massima: 8 |
|
price |
Prezzo |
|
string |
Modificabile solo se Stato Vendita = 0 e titolo non iscritto al lancio |
|
pageCount |
Numero pagine |
|
integer |
Valore massimo: 9999 |
|
volumeNumber |
Numero volume |
|
string |
Lunghezza massima: 4 |
|
isNewEdition |
Nuova edizione |
|
boolean |
|
|
articleStatusCode |
Codice risposta editore |
|
string |
Modificabile solo da 1 a 4 o da 4 a 1 o 2 |
|
articleSaleStatusCode |
Codice stato vendita |
|
string |
Modificabile solo da 1 a 2 |
|
reprintDate |
Data di ristampa |
|
dateTime |
|
Per quanto riguarda i campi modificabili solo a determinate condizioni, se tali condizioni non sono rispettate e il campo è modificato sarà restituito un errore di validazione. In questi casi, per “campo modificato” si intende un campo di cui è stato passato un valore diverso da quello originale. Un campo per cui non si è passato il valore oppure per cui è stato passato il valore precedente si considera non modificato.
Se l’esecuzione è terminata con successo, l’API restituisce 200 OK senza alcun body.
PUT https://api.messaggerielibri.it/titoli/title Authorization: Bearer[TOKEN JWT]
[{"editorialSeriesCode":"MATPUB","ean":"9788834588123","publisher":"IL MULINO","price":0,"longTitle":"PROVA PROVA 2","shortTitle":"PROVA PROVA 2","author":"","articleSaleStatusCode":"0","articleStatusCode":"0","genre":"01","publicationDate":"2023-02-26","outOfCatalogueDate":null,"vatCode":"Z","language":"IT","vendorCode":"0000000015","vendorDescription":"IL MULINO","vatDescription":"MATERIALE PUBBLICITARIO","titleVendorCode":"","designer":"","screenwriter":"","workingState":"toBeValidated","volumeNumber":"","registrationLimit":"","commodityType":null,"reprintDate":null}]
Per utilizzare il metodo API è necessario possedere una o più delle seguenti features:
altrimenti viene restituito 403 (Forbidden)
Risponde a richieste GET verso: /vendor/{vendorCode}/series, dove {vendorCode} rappresenta il codice dell’editore per cui di desidera avere l’elenco delle collane.
La chiamata restituisce la lista delle collane associate al codice editore specificato.
|
Nome Campo |
Descrizione Campo |
Tipo Dato |
|
code |
Codice collana |
string |
|
description |
Descrizione della collana |
string |
|
vendor |
Editore. Contiene:
|
object |
|
genre |
Genere associato alla collana |
string |
|
isSeries |
La collana rappresenta una serie |
boolean |
|
creationDate |
Data di creazione |
dateTime |
GET https://api.messaggerielibri.it/titoli/vendor/0000000243/series Authorization: Bearer[TOKEN JWT]
[
{
"code": "ALBILL",
"description": "ALBI ILLUSTRATI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "ANNALI",
"description": "ANNALI FONDAZIONE G. FELTRINELLI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "ARTTEO",
"description": "ARTE E TEORIA DELL ARTE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "AUDIOL",
"description": "AUDIOLIBRI-EMONS/FELTRINELLI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "AVVENT",
"description": "AVVENTURA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "AVVUM",
"description": "AVVENTURA UMANA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "BSM",
"description": "BIBLIOTECA DI MUSICA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "BPPC",
"description": "BIBLIOTECA DI PSICHIATRIA E PSICOL.",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "BNRR",
"description": "BIBLIOTECA I NARRATORI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "BRUCHI",
"description": "BRUCHI FELTRINELLI KIDS",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2022-11-29T11:00:00Z"
},
{
"code": "CAMSAP",
"description": "CAMPI DEL SAPERE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "CANGUR",
"description": "CANGURI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "COLMAT",
"description": "COLLANA DI MATEMATICA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "COMETE",
"description": "COMETE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "CRFIL",
"description": "CRITICA E FILOSOFIA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "ED-LF",
"description": "EDIZIONI LIBRERIE FELTRINELLI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "ELEMEN",
"description": "ELEMENTI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "E.F.F.",
"description": "ENCICLOPEDIA FELTRINELLI FISCHER",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "EREDI",
"description": "EREDI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "COMICS",
"description": "FELTRINELLI COMICS",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2017-10-06T10:00:00Z"
},
{
"code": "FUOCHI",
"description": "FELTRINELLI FUOCHI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "KIDFEL",
"description": "FELTRINELLI KIDS",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "FELMOR",
"description": "FELTRINELLI MORELLINI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2022-11-07T11:00:00Z"
},
{
"code": "FELTUP",
"description": "FELTRINELLI UP",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2016-04-07T10:00:00Z"
},
{
"code": "FOXCRI",
"description": "FOXCRIME/FELTRINELI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "FRNRR",
"description": "FRANCHI NARRATORI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "FC",
"description": "FUORI COLLANA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "GRALET",
"description": "GRANDI LETTURE FELTRINELLI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "KIDROM",
"description": "I ROMANZI FELTRINELLI KIDS",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "IDEE",
"description": "IDEE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "IMPRON",
"description": "IMPRONTE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "INDIES",
"description": "INDIES",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "INTERZ",
"description": "INTERZONE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "KIDS",
"description": "KIDS",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "KIDSBA",
"description": "KIDS BABU",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "KIDSGA",
"description": "KIDS GATTO NERO",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "KIDSAG",
"description": "KIDS SAGGISTICA NARRATA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "KIDSBU",
"description": "KIDS SBUK",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "LAEFFE",
"description": "LAEFFE FILM FESTIVAL",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "MAT",
"description": "MATERIALI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "MATPUB",
"description": "MATERIALI PUBBLICITARI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "MEDPOT",
"description": "MEDICINA E POTERE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "NARFEL",
"description": "NARRATORI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "NUOVAS",
"description": "NUOVA SERIE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "NUOTRA",
"description": "NUOVA TRAVELLER",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "NMAT",
"description": "NUOVI MATERIALI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "NUVOLE",
"description": "NUVOLE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "PENSOC",
"description": "PENSIERO SOCIALISTA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "POESIA",
"description": "POESIA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "PRETES",
"description": "PRETEST",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2018-02-08T11:00:00Z"
},
{
"code": "PRSESS",
"description": "PROBLEMI DI SESSUOLOGIA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "QUAVEC",
"description": "QUADERNI SALVATORE VECA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2022-01-18T11:00:00Z"
},
{
"code": "REALCI",
"description": "REAL CINEMA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "RGCIT",
"description": "RG CITTA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "RGSTA",
"description": "RG STATI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "RICERC",
"description": "RICERCHE FONDAZIONE GGF",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2021-09-01T10:00:00Z"
},
{
"code": "ROMRAG",
"description": "ROMANZI RAGAZZI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "RGPOCK",
"description": "ROUGH GUIDES POCKET",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2018-02-16T11:00:00Z"
},
{
"code": "SAGGI",
"description": "SAGGI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "SC10R",
"description": "SC/10 READINGS",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "SCENAR",
"description": "SCENARI FONDAZIONE GGF",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2021-09-01T10:00:00Z"
},
{
"code": "SERBIA",
"description": "SERIE BIANCA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "SERCUL",
"description": "SERIE CULTURA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "SUF",
"description": "STORIA UNIVERSALE FELTRINELLI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "STORIE",
"description": "STORIE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "SNS",
"description": "STRUMENTI PER UNA NUOVA SCUOLA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "SUPUE",
"description": "SUPER UNIVERSALE ECONOMICA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "TEMLIB",
"description": "TEMPI LIBERI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2021-02-12T11:00:00Z"
},
{
"code": "TEMRIT",
"description": "TEMPO RITROVATO",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "TRAVEL",
"description": "TRAVELLER",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UERACL",
"description": "UE RAGAZZI CLASSICI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2021-01-29T11:00:00Z"
},
{
"code": "UERAGL",
"description": "UE RAGAZZI GIALLI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2021-01-29T11:00:00Z"
},
{
"code": "UE",
"description": "UNIVERSALE ECONOMICA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UECLAS",
"description": "UNIVERSALE ECONOMICA I CLASSICI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UENOIR",
"description": "UNIVERSALE ECONOMICA NOIR",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UEORIE",
"description": "UNIVERSALE ECONOMICA ORIENTE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UERAGA",
"description": "UNIVERSALE ECONOMICA RAGAZZI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2020-01-23T11:00:00Z"
},
{
"code": "UESGBL",
"description": "UNIVERSALE ECONOMICA SAGGI BLU",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UESGRO",
"description": "UNIVERSALE ECONOMICA SAGGI ROSSI",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UESTOR",
"description": "UNIVERSALE ECONOMICA STORIA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UETRAV",
"description": "UNIVERSALE ECONOMICA TRAVELLER",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "UEVITE",
"description": "UNIVERSALE ECONOMICA VITE NARRATE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "URRA",
"description": "URRA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "VARIA",
"description": "VARIA",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
},
{
"code": "VINTAG",
"description": "VINTAGE",
"vendor": {
"code": "0000000243"
},
"isSeries": true,
"creationDate": "2015-06-17T10:00:00Z"
}
]
Risponde a richieste POST verso: /vendor/{vendorCode}/series, dove {vendorCode} rappresenta il codice dell’editore per cui di desidera aggiungere la collana.
Per identificare la collana da creare viene richiesto un oggetto JSON contenente i seguenti campi:
|
Nome Campo |
Descrizione Campo |
Obbligatorio |
Tipo Dato |
Note |
|
code |
Codice collana |
X |
string |
Lunghezza massima: 6 Ammette solo lettere o numeri |
|
description |
Descrizione della collana |
X |
string |
Lunghezza massima: 40 |
|
isSeries |
La collana rappresenta una serie |
X |
boolean |
|
Il metodo API effettua i seguenti controlli di validazione:
POST https://api.messaggerielibri.it/titoli/vendor/0000000015/series Authorization: Bearer[TOKEN JWT]
{"code":"PROVA3","description":"prova3","isSeries":false}
Se l’esecuzione è terminata con successo, l’API restituisce 200 OK senza alcun body.
Per utilizzare il metodo API è necessario possedere una o più delle seguenti features:
altrimenti viene restituito 403 (Forbidden)
Risponde a richieste POST verso: /titoli/price
Per inserire il nuovo prezzo del titolo viene richiesto un oggetto JSON contenente i seguenti campi:
|
Nome Campo |
Descrizione Campo |
Obbligatorio |
Tipo Dato |
Note |
|
eanCode |
Codice EAN titolo |
X |
string |
|
|
price |
Nuovo prezzo del titolo |
X |
decimal |
|
|
validityStartDate |
La data di inizio validità prezzo |
|
date |
Formato data yyyy-mm-gg |
Il metodo API effettua i seguenti controlli di validazione:
Nota:
SV = Stato Vendita
RE = Risposta Editore
POST https://api.messaggerielibri.it/titoli/price Authorization: Bearer[TOKEN JWT]
[{
"EanCode": "9780006002765",
"Price": "10",
"ValidityStartDate": "2024-03-07"
},
{
"EanCode": "9788820744632",
"Price": "20"
}]
Se l’esecuzione è terminata con successo, l’API restituisce 200 OK senza alcun body.
Per utilizzare il metodo API è necessario possedere una o più delle seguenti features:
altrimenti viene restituito 403 (Forbidden)