diff --git a/README.md b/README.md index bb98730..94bdce8 100644 --- a/README.md +++ b/README.md @@ -104,16 +104,16 @@ Here are the operations available for each entity: | Entity | GET | POST | PUT | DELETE | | :-: | :-: | :-: | :-: | :-: | -| [Admins/Administrators](https://docs.onfleet.com/reference#administrators) | get() | create(obj)
matchMetadata(obj) | update(id, obj) | deleteOne(id) | -| [Containers](https://docs.onfleet.com/reference#containers) | get(id, 'workers')
get(id, 'teams')
get(id, 'organizations') | x | insertTask(id, obj) | x | -| [Destinations](https://docs.onfleet.com/reference#destinations) | get(id) | create(obj)
matchMetadata(obj) | x | x | +| [Admins/Administrators](https://docs.onfleet.com/reference/administrators) | get() | create(obj)
matchMetadata(obj) | update(id, obj) | deleteOne(id) | +| [Containers](https://docs.onfleet.com/reference/containers) | get(id, 'workers')
get(id, 'teams')
get(id, 'organizations') | x | insertTask(id, obj) | x | +| [Destinations](https://docs.onfleet.com/reference/destinations) | get(id) | create(obj)
matchMetadata(obj) | x | x | | [Hubs](https://docs.onfleet.com/reference#hubs) | get() | create(obj) | update(id, obj) | x | -| [Organization](https://docs.onfleet.com/reference#organizations) | get()
get(id) | x | x | x | -| [Recipients](https://docs.onfleet.com/reference#recipients) | get(id)
get(name, 'name')
get(phone, 'phone') | create(obj)
matchMetadata(obj) | update(id, obj) | x | -| [Tasks](https://docs.onfleet.com/reference#tasks) | get(query)
get(id)
get(shortId, 'shortId') | create(obj)
clone(id)
clone(id, obj)
forceComplete(id, obj)
batchCreate(obj)
autoAssign(obj)
matchMetadata(obj) | update(id, obj) | deleteOne(id) | -| [Teams](https://docs.onfleet.com/reference#teams) | get()
get(id)
getWorkerEta(id, obj)
getTasks(id) | create(obj)
autoDispatch(id, obj) | update(id, obj) | deleteOne(id) | -| [Webhooks](https://docs.onfleet.com/reference#webhooks) | get() | create(obj) | x | deleteOne(id) | -| [Workers](https://docs.onfleet.com/reference#workers) | get()
get(query)
get(id)
getByLocation(obj)
getSchedule(id)
getTasks(id) | create(obj)
setSchedule(id, obj)
matchMetadata(obj) | update(id, obj)
insertTask(id, obj) | deleteOne(id) | +| [Organization](https://docs.onfleet.com/reference/organizations) | get()
get(id) | x | x | x | +| [Recipients](https://docs.onfleet.com/reference/recipients) | get(id)
get(name, 'name')
get(phone, 'phone') | create(obj)
matchMetadata(obj) | update(id, obj) | x | +| [Tasks](https://docs.onfleet.com/reference/tasks) | get(query)
get(id)
get(shortId, 'shortId') | create(obj)
clone(id)
clone(id, obj)
forceComplete(id, obj)
batchCreate(obj)
autoAssign(obj)
matchMetadata(obj) | update(id, obj) | deleteOne(id) | +| [Teams](https://docs.onfleet.com/reference/teams) | get()
get(id)
getWorkerEta(id, obj)
getTasks(id) | create(obj)
autoDispatch(id, obj) | update(id, obj) | deleteOne(id) | +| [Webhooks](https://docs.onfleet.com/reference/webhooks) | get() | create(obj) | x | deleteOne(id) | +| [Workers](https://docs.onfleet.com/reference/workers) | get()
get(query)
get(id)
getByLocation(obj)
getSchedule(id)
getTasks(id) | create(obj)
setSchedule(id, obj)
matchMetadata(obj) | update(id, obj)
insertTask(id, obj) | deleteOne(id) | #### GET Requests To get all the documents within an endpoint, this returns a `Promise` containing an array of results: