Post Login Auth
POST {{baseUrl}}/login/auth?{{ACCESS_TOKEN}}=<>
Authenticate with the RainMachine associated with an account. This call should only be used if the account has only
one RainMachine associated otherwise the errorType field from response will return -1 (see below).
If authentication succeeds the errorType field from the returned JSON should be 0 and contain access_token and
sprinklerId that will be used for further API calls.
Other values for errorType are:
0 - success
-1 - the user has multiple sprinklers use the **/get-sprin
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
{{ACCESS_TOKEN}} | string |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
Accept | string | ||
Content | string |