ESET Online Help

Search
Select the topic

SiteId

Call description

This call gets EMA2 (current) PublicID of the Site equivalent to the original EMA1 ID or Legacy key (also known as ERA key).

EMA 1 uses various names for the Site ID:

Use siteId URL if you have the new version from 2015.

Use legacyKey URL if you have been using LegacyKey, EraKey, RaKey, Era5Key.

 

This API call requires authorization; the user has to be logged in.

Request URL:

ohttps://mspapi.eset.com/api/Ema1Mapping/SiteId?siteId={yourSiteId}

ohttps://mspapi.eset.com/api/Ema1Mapping/SiteId?legacyKey={yourLegacyKey}

This request is a GET call type.

Response structure

The response contains data in the JSON format.

hmtoggle_plus0Example response

Troubleshooting

ESET MSP Administrator 2 API uses standardized error codes. If you are getting errors or unexpected responses, see the Troubleshooting API for common problems and the list of error codes.

List of error codes