POST sites/EditSiteType

Request Information

URI Parameters

None.

Body Parameters

SiteType
NameDescriptionTypeAdditional information
SiteTypeId

integer

None.

TenantId

integer

None.

LsnSiteTypeId

integer

None.

AssetTypeId

integer

None.

SiteCode

string

None.

SiteDescription

string

None.

FeedbackDelay

integer

None.

StormFeedBackDelay

integer

None.

TOSource

string

None.

SeqNo

integer

None.

AssetType

string

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SiteTypeId": 1,
  "TenantId": 2,
  "LsnSiteTypeId": 3,
  "AssetTypeId": 1,
  "SiteCode": "sample string 4",
  "SiteDescription": "sample string 5",
  "FeedbackDelay": 1,
  "StormFeedBackDelay": 1,
  "TOSource": "sample string 6",
  "SeqNo": 7,
  "AssetType": "sample string 8",
  "UserId": 9
}

text/html

Sample:
{"SiteTypeId":1,"TenantId":2,"LsnSiteTypeId":3,"AssetTypeId":1,"SiteCode":"sample string 4","SiteDescription":"sample string 5","FeedbackDelay":1,"StormFeedBackDelay":1,"TOSource":"sample string 6","SeqNo":7,"AssetType":"sample string 8","UserId":9}

application/xml, text/xml

Sample:
<SiteType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <AssetType>sample string 8</AssetType>
  <AssetTypeId>1</AssetTypeId>
  <FeedbackDelay>1</FeedbackDelay>
  <LsnSiteTypeId>3</LsnSiteTypeId>
  <SeqNo>7</SeqNo>
  <SiteCode>sample string 4</SiteCode>
  <SiteDescription>sample string 5</SiteDescription>
  <SiteTypeId>1</SiteTypeId>
  <StormFeedBackDelay>1</StormFeedBackDelay>
  <TOSource>sample string 6</TOSource>
  <TenantId>2</TenantId>
  <UserId>9</UserId>
</SiteType>

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 'SiteType'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.