Sample Requests

Samples based on Canonical Pet from Getting Started

GET (collection)

This call will return a collection of objects in a familiar style.

https://gateway.automatedapi.com/AutomatedApi/Pet/values

GET (by id)

Returns a Pet object in a familiar style.

https://gateway.automatedapi.com/AutomatedApi/Pet/values/1

POST (for new items)

https://gateway.automatedapi.com/AutomatedApi/Pet/create
{
        "name": "fido",
        "tag": "FIDO (please call 555-6543 if found)"
}

DELETE (by id)

The following will delete a record. Though this interaction is disabled in the sample database. NOTE: A planned change will make generation of this request optional as it is common to disallow such operations in many applications

https://gateway.automatedapi.com/AutomatedApi/Pet/delete/1