Choose orgnization

If one end user has access to multiple orgnizations, then a call to choose orgnization is required before call other API.

Request Format

METHOD {URI-scheme}://{apigw-address}/solar-api/{version}/loginService/chooseOrganization

Request Parameters

Name Location Required Datatype Description
token Query True String token
organizationId Query True String orgnization id

Response Parameters

Name Datatype Description
body String token

Example

Request Example

GET
https://{apigw-address}/solar-api/v1.0/loginService/chooseOrganization?token='your token'&organizationId=o1552442123456

Response Example

{
    "status": 0,
    "msg": "success",
    "body": "APP_PORTAL_S_DP57AkTXYaq3c2R73sUX4j7NgxPQexKw"
}