curl --request POST \
--url https://apigw.bienport.com/api/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"screenName": "905554447788",
"password": "mypass+",
"rememberMe": true
}
'{
"token": "Bearer Token",
"mqUser": "messenger",
"mqPassword": "password-here",
"userId": 11234,
"emailAddress": "<string>",
"screenName": "<string>",
"localeId": "<string>",
"roles": [
{
"roleId": 123,
"roleName": "<string>",
"type": 123,
"inherited": true,
"typePK": 123,
"typeName": "<string>"
}
],
"organizations": [
{
"name": "OrganizationName",
"id": "243242"
}
],
"organizationIds": [
30339,
43567
],
"resources": [
{
"resourceId": 123,
"networkId": "<string>",
"resourceName": "<string>",
"enabled": true,
"modelName": "<string>",
"brandName": "<string>",
"treePath": "<string>",
"orgId": 123,
"resourceSensors": [
{
"type": "<string>",
"sensors": [
{
"id": 123,
"resourceId": 123,
"orderNo": 123,
"ioType": "Digital",
"ioDirection": "Input",
"trueValue": "<string>",
"falseValue": "<string>",
"partitions": [
{
"name": "<string>",
"no": 123
}
],
"sensorId": 123,
"description": "<string>",
"hardwareSerialNumber": "<string>",
"sensorName": "<string>"
}
]
}
],
"resourceControllers": [
{
"hardwareSerialNumber": "<string>",
"id": 123,
"resourceId": 123,
"orderNo": 123,
"ioType": "Digital",
"ioDirection": "Input",
"trueValue": "<string>",
"falseValue": "<string>",
"description": "<string>",
"controllerName": "<string>",
"controllerId": 123,
"partitions": [
{
"name": "<string>",
"no": 123
}
]
}
],
"resourceSubscriptionId": 123,
"subscriptionDocumentNo": "<string>",
"resourceType": "Device",
"deviceSubType": "<string>"
}
]
}curl --request POST \
--url https://apigw.bienport.com/api/auth/login \
--header 'Content-Type: application/json' \
--data '
{
"screenName": "905554447788",
"password": "mypass+",
"rememberMe": true
}
'{
"token": "Bearer Token",
"mqUser": "messenger",
"mqPassword": "password-here",
"userId": 11234,
"emailAddress": "<string>",
"screenName": "<string>",
"localeId": "<string>",
"roles": [
{
"roleId": 123,
"roleName": "<string>",
"type": 123,
"inherited": true,
"typePK": 123,
"typeName": "<string>"
}
],
"organizations": [
{
"name": "OrganizationName",
"id": "243242"
}
],
"organizationIds": [
30339,
43567
],
"resources": [
{
"resourceId": 123,
"networkId": "<string>",
"resourceName": "<string>",
"enabled": true,
"modelName": "<string>",
"brandName": "<string>",
"treePath": "<string>",
"orgId": 123,
"resourceSensors": [
{
"type": "<string>",
"sensors": [
{
"id": 123,
"resourceId": 123,
"orderNo": 123,
"ioType": "Digital",
"ioDirection": "Input",
"trueValue": "<string>",
"falseValue": "<string>",
"partitions": [
{
"name": "<string>",
"no": 123
}
],
"sensorId": 123,
"description": "<string>",
"hardwareSerialNumber": "<string>",
"sensorName": "<string>"
}
]
}
],
"resourceControllers": [
{
"hardwareSerialNumber": "<string>",
"id": 123,
"resourceId": 123,
"orderNo": 123,
"ioType": "Digital",
"ioDirection": "Input",
"trueValue": "<string>",
"falseValue": "<string>",
"description": "<string>",
"controllerName": "<string>",
"controllerId": 123,
"partitions": [
{
"name": "<string>",
"no": 123
}
]
}
],
"resourceSubscriptionId": 123,
"subscriptionDocumentNo": "<string>",
"resourceType": "Device",
"deviceSubType": "<string>"
}
]
}loginRequest
JWT token, user details
Token
"Bearer Token"
Message Queue User Name
"messenger"
Message Queue Password
"password-here"
User Id
11234
Email Address
Screen Name
Locale
Organizations
[30339, 43567]Resources
Show child attributes
Show child attributes
Show child attributes
Digital, Analog, AnalogDigital, SerialUSART, SerialRS232, SerialRS485, SerialCAN, SerialEthernet, SerialI2C, SerialSPI, SerialOneWire, User, SerialMdb, SerialWireless Input, Output, InputOutput Show child attributes
Digital, Analog, AnalogDigital, SerialUSART, SerialRS232, SerialRS485, SerialCAN, SerialEthernet, SerialI2C, SerialSPI, SerialOneWire, User, SerialMdb, SerialWireless Input, Output, InputOutput Device, ThirdParty, Virtual, Gateway