PUT api/Server/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Server
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Key

string

None.

OrganisationId

string

None.

Blueprint

string

None.

ConnectorId

integer

None.

Connector

Connector

None.

IsMultiTenant

boolean

None.

IsDeleted

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Key": "sample string 3",
  "OrganisationId": "sample string 4",
  "Blueprint": "sample string 5",
  "ConnectorId": 1,
  "Connector": {
    "Id": 1,
    "Name": "sample string 2",
    "Key": "sample string 3"
  },
  "IsMultiTenant": true,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<Server xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataEntities.Author.WebAPI.Models">
  <Blueprint>sample string 5</Blueprint>
  <Connector>
    <Id>1</Id>
    <Key>sample string 3</Key>
    <Name>sample string 2</Name>
  </Connector>
  <ConnectorId>1</ConnectorId>
  <Id>1</Id>
  <IsDeleted>true</IsDeleted>
  <IsMultiTenant>true</IsMultiTenant>
  <Key>sample string 3</Key>
  <Name>sample string 2</Name>
  <OrganisationId>sample string 4</OrganisationId>
</Server>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Server'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.