Upload file per distintaβ
[baseUrl]/api/sync/v1/repair/upload/{FIDBOP}/{SubOrderRowCode}
Descrizioneβ
Parametriβ
| Field | Type | Required | Default | Description | Notes |
|---|---|---|---|---|---|
FIDBOP | int | null | ID della distinta posseduta dall'utente | Parametro get | |
SubOrderRowCode | string | null | Sottomatricola. PuΓ² essere recuparata dalla chiamata [baseUrl]/api/sync/v1/repair/list | Parametro 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
}