Changes

stoney core: REST API

95 bytes added, 11:03, 14 November 2013
/* Reseller update (PUT) */
==== Reseller update (PUT) ====
To updates an existing reseller, the client needs to send a HTTP <code>PUT</code> request on the reseller's element resource URI (such as, <code>https://api.example.com//v1/resellers/4000001</code>). The service responds with a HTTP status code 200 (OK) on success and returns an empty body.  The <code>PUT</code> method requires one to sent the complete record, thus the work-flow is normally as follows:
# A [[#Reseller_retrieval_.28GET.29|GET]] request on the Reseller element URI will be made to fetch the whole document.
# Update the fields which content has changed
SLB
385
edits