POST api/evinfo/external/authorize

Gets authorization for the vehicle using the privided credentials.

Request Information

URI Parameters

None.

Body Parameters

The credentials.

EvLoginCredentials
NameDescriptionTypeAdditional information
username

string

Data type: EmailAddress

password

string

Data type: Password

auth

Auth

None.

Manufacturer

string

None.

Request Formats

application/json, text/json

Sample:
{
  "username": "sample string 1",
  "password": "sample string 2",
  "auth": {
    "bearer": "sample string 1"
  },
  "Manufacturer": "sample string 3"
}

text/html

Sample:
{"username":"sample string 1","password":"sample string 2","auth":{"bearer":"sample string 1"},"Manufacturer":"sample string 3"}

Response Information

Resource Description

Returns an EvAuthorization object

EvAuthorization
NameDescriptionTypeAdditional information
IsAuthorized

boolean

None.

Value

string

None.

Type

AuthType

None.

Response Formats

application/json, text/json

Sample:
{
  "IsAuthorized": true,
  "Value": "sample string 2",
  "Type": "Bearer"
}

text/html

Sample:
{"IsAuthorized":true,"Value":"sample string 2","Type":"Bearer"}