{% api-method method="get" host="https://api.openx.solar" path="/recipient/all" %} {% api-method-summary %} Get all recipients {% endapi-method-summary %}
{% api-method-description %} **curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "**http://api2.openx.solar/recipient/all" {% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/register" %} {% api-method-summary %} Register Recipient {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="seedpwd" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="pwhash" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="name" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://api.openx.solar" path="/recipient/validate" %} {% api-method-summary %} Validate Recipient {% endapi-method-summary %}
{% api-method-description %} curl -X GET "http://api2.openx.solar/recipient/validate?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft" {% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/payback" %} {% api-method-summary %} Payback Recipient {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="projIndex" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="seedpwd" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="amount" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="assetName" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/deviceId" %} {% api-method-summary %} Store device ID {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="deviceId" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/startdevice" %} {% api-method-summary %} Store device start time {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="start" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/storelocation" %} {% api-method-summary %} Store location of device {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="location" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://api.openx.solar" path="/recipient/auction/choose/blind" %} {% api-method-summary %} Choose blind auction {% endapi-method-summary %}
{% api-method-description %} curl -X GET "http://api2.openx.solar/recipient/auction/choose/blind?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft" {% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://api.openx.solar" path="/recipient/auction/choose/vickrey" %} {% api-method-summary %} Choose vickrey auction {% endapi-method-summary %}
{% api-method-description %} curl -X GET "http://api2.openx.solar/recipient/auction/choose/vickrey?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft" {% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://api.openx.solar" path="/recipient/auction/choose/time" %} {% api-method-summary %} Choose time auction {% endapi-method-summary %}
{% api-method-description %} curl -X GET "http://api2.openx.solar/recipient/auction/choose/time?username=martin&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft" {% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/unlock/opensolar" %} {% api-method-summary %} Unlock Project {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="projIndex" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="seedpwd" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/addemail" %} {% api-method-summary %} Add Email {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="email" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/finalize" %} {% api-method-summary %} Finalize Project {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="projIndex" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/originate" %} {% api-method-summary %} Originate Project {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="projIndex" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://api.openx.solar" path="/recipient/trustlimit" %} {% api-method-summary %} Get Asset Trust Limit {% endapi-method-summary %}
{% api-method-description %} **curl -X GET -H "Content-Type: application/x-www-form-urlencoded" -H "Origin: localhost" "**http://api2.openx.solar/user/increasetrustlimit?username=john&token=pmkjMEnyeUpdTyhdHElkBExEKeLIlYft&trust=10&seedpwd=x" {% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="assetName" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/ssh" %} {% api-method-summary %} Store State Hash Teller {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="ssh" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/onetimeunlock" %} {% api-method-summary %} One time unlock {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="seedpwd" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="projIndex" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/register/teller" %} {% api-method-summary %} Register Teller {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="projIndex" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="url" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="get" host="https://api.openx.solar" path="/recipient/dashboard" %} {% api-method-summary %} Recipient Dashboard {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-query-parameters %} {% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-query-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/company/set" %} {% api-method-summary %} Set Company Bool {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/company/details" %} {% api-method-summary %} Set company details {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="companytype" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="name" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="legalname" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="address" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="country" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="city" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="zipcode" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="role" type="string" required=false %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}
{% api-method method="post" host="https://api.openx.solar" path="/recipient/teller/energy" %} {% api-method-summary %} Store Teller Energy Value {% endapi-method-summary %}
{% api-method-description %}
{% endapi-method-description %}
{% api-method-spec %} {% api-method-request %} {% api-method-body-parameters %} {% api-method-parameter name="energy" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="token" type="string" required=true %}
{% endapi-method-parameter %}
{% api-method-parameter name="username" type="string" required=true %}
{% endapi-method-parameter %} {% endapi-method-body-parameters %} {% endapi-method-request %}
{% api-method-response %} {% api-method-response-example httpCode=200 %} {% api-method-response-example-description %}
{% endapi-method-response-example-description %}
{% endapi-method-response-example %} {% endapi-method-response %} {% endapi-method-spec %} {% endapi-method %}