Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

General Information

...

ServiceAPIMethodData ModelsWorkflowGroup
multitenant/tenant/application/key/extGETTenantN/ATenant

Description

List tenant application ext keys

Input

...

Type: application/json

NameSourceMandatoryTypeSpecial FormatDescription

appId

QueryYESStringN/ATenant App ID
keyQueryYESStringN/ATenant application key

Tenant id will automatically be taken from the extKey (tenant logged in from)

Output

...

Response

SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response 

Valid Response

Code Block
languagejs
titleValid Response Sample
linenumberstrue
collapsetrue
{ 
  result: true,
  data: [
  	{
    	"expDate": 1569920322248,
    	"extKey": "aa39b5490c4a4ed0e56d7ec1232a428f1c5b5dcabc0788ce563402e233386738fc3eb18234a486ce1667cf70bd0e8b08890a86126cf1aa8d38f84606d8a6346359a61678428343e01319e0b784bc7e2ca267bbaafccffcb6174206e8c83f2a25",
    	"device": {},
    	"geo": {}
  	}
  ]
}

Invalid Response

Code Block
languagejs
titleError Response Sample
linenumberstrue
collapsetrue
{
    "result":false,
    "errors":{
        "codes":[602],
        "details":[
            {
                "code":602,
                "message":"Model error: + %model_error%"
            }
        ]
    }
}

Response schema

Follow this link to check out the response JSON response JSON Schema

SOAJS Error Codes



Code
Description
400

Business logic required data are missing

450

Unable to find tenant

602Model error: + %model_error%