PUT hub/{serial}/Equipment/Name
Change Name Equipement
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
serial |
Serial of the Hub |
string |
Required |
Body Parameters
Flipr.Web.Api.Controllers.JsonWrappers.NameEquipmentParamName | Description | Type | Additional information |
---|---|---|---|
NameEquipment |
newstate |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "NameEquipment": "sample string 1" }
text/html
Sample:
{"NameEquipment":"sample string 1"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResult
Flipr.Web.Api.Controllers.JsonWrappers.NameEquipmentName | Description | Type | Additional information |
---|---|---|---|
newName |
newstate |
string |
None. |
ErrorCode |
Gets or sets the error code if there is one |
string |
None. |
Message |
Gets or sets the error message if there is one |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "newName": "sample string 1", "ErrorCode": "sample string 2", "Message": "sample string 3" }
text/html
Sample:
{"newName":"sample string 1","ErrorCode":"sample string 2","Message":"sample string 3"}