Skip to content

Commit

Permalink
Merge pull request #7 from JamesAndresCM/chore/update-readme
Browse files Browse the repository at this point in the history
chore: update readme
  • Loading branch information
JamesAndresCM authored Jan 20, 2020
2 parents f9db9ff + 80e4722 commit 136a28d
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,29 @@ mutation logout{
status_logout
}
}
mutation destroyTrucks {
destroyTrucks(input: {truck_id: 39}) {
status
}
}
(types: { truck: 0, pickup: 1, car: 2, motorcycle: 3, bicycle: 4, other: 5 })
mutation createTrucks {
createTrucks(input: {identifier: "prueba", vehicle_type: "other", capacity: 1}) {
truck {
id
identifier
is_ramp
has_own_gps
vehicle_type
capacity
}
errors {
fullMessages
}
}
}
```
## Queries
```
Expand Down

0 comments on commit 136a28d

Please sign in to comment.