All Verbs | /cached/customers |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Results | form | List<Customer> | Yes | |
ResponseStatus | form | ResponseStatus | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Id | form | string | Yes | |
CompanyName | form | string | Yes | |
ContactName | form | string | Yes | |
ContactTitle | form | string | Yes | |
Address | form | string | Yes | |
City | form | string | Yes | |
Region | form | string | Yes | |
PostalCode | form | string | Yes | |
Country | form | string | Yes | |
Phone | form | string | Yes | |
Fax | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /cached/customers HTTP/1.1
Host: northwind.netcore.io
Accept: application/json
Content-Type: application/json
Content-Length: length
{}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"results":[{"id":"String","companyName":"String","contactName":"String","contactTitle":"String","address":"String","city":"String","region":"String","postalCode":"String","country":"String","phone":"String","fax":"String"}],"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}