POST api/machine/{id}/edit

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

None.

Body Parameters

Machine
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

IP

string

None.

Port

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "IP": "sample string 3",
  "Port": 4
}

application/xml, text/xml

Sample:
<Machine xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FingerAPI.Models">
  <ID>1</ID>
  <IP>sample string 3</IP>
  <Name>sample string 2</Name>
  <Port>4</Port>
</Machine>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response 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>