Passa al contenuto principale

Upload file per distinta​

[baseUrl]/api/sync/v1/repair/upload/{FIDBOP}/{SubOrderRowCode}

Descrizione​

Parametri​

FieldTypeRequiredDefaultDescriptionNotes
FIDBOPintnullID della distinta posseduta dall'utenteParametro get
SubOrderRowCodestringnullSottomatricola. PuΓ² essere recuparata dalla chiamata [baseUrl]/api/sync/v1/repair/listParametro get

Esempio richiesta​

sh
curl --location '[baseUrl]/api/sync/v1/repair/upload/{{FIDDOCROW}}' \
--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
}