Upload file per distinta

[baseUrl]/api/sync/v1/bop/upload/{FIDBOP}

Descrizione

Parametri

Field Type Required Default Description Notes
FIDBOP int null ID della distinta Parametro get

Esempio richiesta

sh
curl --location '[baseUrl]/api/sync/v1/bop/upload/{{FIDBOP}}' \
--header 'AccessToken: {{token}}' \
--form 'files=@"{{path_to_file}}"' \
--form 'files=@"{{path_to_file}}"' \
--form 'files=@"{{path_to_file}}"'

Risposta

JSON
{
  "statusCode": 200,
  "errorCode": null,
  "message": null,
  "result": {
    "totalCount": 3,
    "totalPages": 1,
    "page": 1,
    "count": 3,
    "records": [
      {
        "Item1": 158676,
        "Item2": "fileName1.jpg",
        "Item3": true,
        "Item4": null
      },
      {
        "Item1": 158677,
        "Item2": "fileName2.png",
        "Item3": true,
        "Item4": null
      },
      {
        "Item1": 158678,
        "Item2": "fileName3.png",
        "Item3": true,
        "Item4": null
      }
    ],
    "record": null
  },
  "debug": null
}