Last Updated: 7/4/2021 11:59:30 AM
Use GET /SMPI/service/wfbss/api/domains to get the domain information of your customer. You can then find the WFBSS agent download link in the response data.
method = "GET" request_uri = "/SMPI/v2/service/wfbss/api/domains?cids=%s" % company_id res_status, res_data = send_request(method, request_uri) print "Response status: %s", res_status print "Response data: \n%s", res_data # Retrieve the WFBSS agent download link res_data = json.loads(res_data) download_link = res_data["customers"][0]["magic_link"] print "WFBSS agent download link: %s", download_link
If successful, the response data will show as:
Response status: 200 Response data: { "customers": [ { "magic_link": "http://wfbs-svc.trendmicro.com/trend-wfbssvc-xx/download/idxx=123", "server_location": "123.123.123.123", "service_name": "trend-wfbssvc", "id": "640FE47F-5118-4D79-8221-A35D0DE2EE2C", "agent_mode_id": 1, "colo": "muc1", "company_key": "b6df821f-2f87-4d51-9fd7-67d0a9841e39", "service_id": 2, "activation_code": "WF-Z4X5-PXKUE-JTMF7-37AJ7-SQUTD-BHWPJ", "domain_id": 345 } ] } WFBSS agent download link: http://wfbs-svc.trendmicro.com/trend-wfbssvc-xx/download/idxx=123