API Reference

API Endpoint
/app.bluemove.es

7166192301 api documentation.

Bluemove API is organized around REST. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients.

Authentication

Authenticate your account when using the API by including your secret API key in the request. You can manage your API keys in the “Account” section. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such GitHub, client-side code, and so forth.

Resource Group

Resource

POST /app.bluemove.es/api/login
Requestsexample 1
Headers
Content-Type: application/json
Body
{
  "email": "youremail@gmail.com",
  "password": "password"
}
Responses200
Headers
Content-Type: application/json
Body
{
  "status": "success",
  "data": {
    "user_id": 19172,
    "token": "iz2DDfByCeovn3iwxE7D5yor7CuxoiGYaMpHFQIHycqfWbOQJd",
    "user": {
      "id": 19172,
      "customer_id": 19142,
      "email": "herrerobeaumont@gmail.com",
      "username": "herrerobeaumont@gmail.com",
      "password2": "conejoconejo",
      "token": "iz2DDfByCeovn3iwxE7D5yor7CuxoiGYaMpHFQIHycqfWbOQJd",
      "permissions": {
        "bluemove_developer": 1,
        "bluemove_labs": 1
      },
      "activated": true,
      "activated_at": "2014-11-17 22:20:31",
      "last_login": "2016-03-09 12:56:46",
      "first_name": "Gabriel",
      "last_name": "Herrero Beaumont",
      "picture": "250x250_19172.png",
      "language": "es",
      "birthdate": null,
      "receive_email": 1,
      "created_at": "2014-11-17 22:20:31",
      "updated_at": "2016-03-09 12:56:46",
      "gender": null,
      "invers_systemuser_id": 25828,
      "invers_person_id": 25920,
      "invers_email_id": 61631
    },
    "customer": {
      "id": 19142,
      "account_id": 1,
      "status_id": 1,
      "lead_assignee_id": null,
      "smartcard_id": 12898,
      "spot_id": 1,
      "city_id": 1,
      "depending_customer_id": null,
      "invers_account_id": 25008,
      "invers_customer_id": 25230,
      "facturadirecta_id": 5257,
      "sugar_id": null,
      "closest_location_id": 19,
      "corporate_location_id": null,
      "transport_card_number": null,
      "location_distance": "123.00",
      "activation_responsable": "Hola",
      "customer_type": "Empresa",
      "first_name": "Gabriel",
      "last_name": "Herrero Beaumont",
      "department": "",
      "phone_home": "+34655943504",
      "phone_work": "",
      "phone_other": "",
      "address_street": "Calle Eguilaz , 7",
      "address_street_2": "Cuarto centro izquierda",
      "address_street_3": "Calle Eguilaz, 7, Madrid, España, Madrid, Madrid, Madrid",
      "address_city": "Madrid",
      "address_province": null,
      "address_postalcode": "28010",
      "address_country": "España",
      "nation": "",
      "gmaps_url": "",
      "birthdate": null,
      "smartcard_deliver": "Tarjeta de transporte",
      "pin": null,
      "smartcard_pickup": null,
      "bank_account": "",
      "lead_source": "Display",
      "lead_status": "Cliente",
      "lead_origin": "auth/signup",
      "lead_campaign": "Ligatus",
      "lead_referrer": null,
      "lead_how": "Otro",
      "lead_medium": "Paid",
      "fiscal_number": "",
      "insurance_issue_date": null,
      "license_issue_date": "02/01/2000",
      "activation_date": "2013-12-17 20:00:00",
      "deactivation_date": null,
      "deactivation_type": "",
      "deactivation_reason": "",
      "invoice_company": "Gaebo Changed",
      "invoice_tax_number": "B85622702",
      "invoice_address_street": "Calle Valle del Tiétar , 21",
      "invoice_address_street_2": "Villanueva de la Cañada, España",
      "invoice_address_city": "Villanueva de la Cañada",
      "invoice_address_province": null,
      "invoice_address_postalcode": "28692",
      "invoice_address_country": "España",
      "n_employees": null,
      "twitter": null,
      "gpslat": "40.4292425",
      "gpslong": "-3.7006668999999874",
      "invoice_gpslat": "40.4642759",
      "invoice_gpslong": "-3.9475036000000046",
      "ambassador": "No embajador",
      "comments": null,
      "created_at": "17/12/13 20:00:00",
      "updated_at": "25/01/16 19:58:46"
    }
  }
}

re-endear/api/login


Generated by aglio on 09 Mar 2016