This repository was archived by the owner on Aug 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
API.Routes.DatRead
Mestre-Tramador edited this page Aug 29, 2022
·
1 revision
/dat/:id
Read a stored .dat file content.
| Path | Value | Description |
|---|---|---|
| :id | number |
The numeric ID of the .dat file being read. |
{
"sellers": [
{
"cpf": "525.446.820-35",
"name": "Bianca Baum",
"wage": 3200.0
}
],
"customers": [
{
"cnpj": "37.174.119/0001-90",
"name": "Gilberto Tavares",
"branch": "Agronomia"
}
],
"sales": [
{
"id": 831,
"items": [
{
"id": 99432,
"quantity": 12,
"price": 5.90
}
],
"seller": "Bianca Baum"
}
]
}Following the model of a Dat file, it describes the lists of sellers, customer and sales on the stored file.
{
"error": "File not found"
}If there is no file with the given ID, then this error is returned.
Exper-Dat-Reader is licensed under the GNU GENERAL PUBLIC LICENSE Version 3.
If you'd like to contribute, please read our Contribution Guidelines.