Passa al contenuto principale

Elenco linee

[baseUrl]/api/sync/v1/bop/series

Descrizione

API per l'elenco delle collezioni disponibili

Parametri richiesta

FieldTypeRequiredDefaultDescriptionNotes
FIDBrandint?nullID del brandDa utilizzare per filtrare le linee di un brand specifico
FIDLineint?nullID della collezioneDa utilizzare per filtrare le linee di una collezione specifica

Esempio richiesta

sh
curl --location '[baseUrl]/api/sync/v1/bop/line' \
--header 'AccessToken: {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"FIDBrand":24,
"FIDLine":5,
}'

Risposta

JSON
{
"statusCode": 200,
"errorCode": null,
"message": null,
"result": {
"totalCount": 100,
"totalPages": 1,
"page": 1,
"count": 100,
"records": [
{
"ID": 22,
"FIDBrand": 19,
"FIDLine": 108,
"Series": "LOUIS CARTIER"
},
{
"ID": 23,
"FIDBrand": 19,
"FIDLine": 108,
"Series": "SOLO"
},
{
"ID": 26,
"FIDBrand": 19,
"FIDLine": 117,
"Series": "AMÉRICAINE"
},
{
"ID": 27,
"FIDBrand": 19,
"FIDLine": 117,
"Series": "CINTRÉE"
},
...
],
"record": null
},
"debug": null
}