I am trying to hit the ConnectApp API from postman to get the GUID response, but got confused with data and DMAName that needs to be provided in http(s)://{DMA IP}/API/v1/Json.asmx/{Method} API
Wout Mahieu [SLC] [DevOps Catalyst] Answered question 2 days ago
Hi Tanya,
You can use this API by using the https://DMAIP/API/v1/Json.asmx/ConnectApp route. The content of the request should be of type application/json and should contain:
- host: can be an empty string
- login: your username
- password: your password
- clientAppName: the app you are connecting with eg: Dashboards, Low Code Apps, ... . The actual value doesn't matter very much, it is used for logging & tracing.
- clientAppVersion: can be an empty string
- clientComputerName: can be an empty string
You can also test the request on the DMA host itself by visiting https://DMAIP/API/v1/Json.asmx?op=ConnectApp in your browser
Wout Mahieu [SLC] [DevOps Catalyst] Answered question 2 days ago