PUT hub/{serial}/Equipment/Name

Change Name Equipement

Request Information

URI Parameters

NameDescriptionTypeAdditional information
serial

Serial of the Hub

string

Required

Body Parameters

Flipr.Web.Api.Controllers.JsonWrappers.NameEquipmentParam
NameDescriptionTypeAdditional 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.NameEquipment
NameDescriptionTypeAdditional 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"}