Changes

stoney core: Resellers Resource - REST API

635 bytes added, 15:29, 12 December 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
# Send a <code>PUT</code> request with all the reseller data
 
== Reseller partly update (PATCH) ==
== Reseller deletion (DELETE) ==
SLB
385
edits