GET api/SwapMACAddress?APIKey={APIKey}&ControllerID={ControllerID}&OldMACaddress={OldMACaddress}&NewMACaddress={NewMACaddress}
This will Remove the existing MAC Address from the controller and replace it with the provided MAC Address. This is to be used in cases where the controller is broken and being replaced and you want to retain all data.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
APIKey |
The API key provided |
string |
Required |
ControllerID |
The controllerID you want to swap out |
string |
Required |
OldMACaddress |
The old MACaddress of the controller. Must be in the format of XX:XX:XX:XX:XX:XX |
string |
Required |
NewMACaddress |
The New MACaddress of the controller. Must be in the format of XX:XX:XX:XX:XX:XX |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The system returns a String with "Success" if the switch was made or an Error if there was a problem.
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>