Authentication

login

method: POST

secured: false

url: /v1/auth/login.json

Field Notes
username The username of the distributor you are tyring to authenticate as in concaticated form.
Type: String (##-####)
password The password of the distributor you are tyring to authenticate as in concaticated form.
Type: String
Device Information (optional)
device_type An eumeration of (supported) device types.
Type: Enum (IOS, ANDROID)
device_token A unique device token used to actually communicating with the device.
Type: String
device_name An identifyable name for the device (it could be the model number or if available the devices confgured name)
Type: String

If sucessfull you will see a response like this:

{
    "success": true,
    "session": "b4f-6a0bb385b246-1249-8a379f-682a94c",
    "locale": "en-us",
    "promoterGuid": "ursemmaeb",
    "Title": {
        "Name": "Manager",
        "Value": 32
    }
}