POST api/Account/InsertSiteRedirect

Request Information

URI Parameters

None.

Body Parameters

TaskyamWebAPI.Models.Account.SitesRedirectnModel
NameDescriptionTypeAdditional information
Token

string

None.

RedirectUrl

string

None.

SiteMapName

string

None.

LanguageName

string

None.

AppId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Token": "sample string 1",
  "RedirectUrl": "sample string 2",
  "SiteMapName": "sample string 3",
  "LanguageName": "sample string 4",
  "AppId": 1
}

application/xml, text/xml

Sample:
<SitesRedirectnModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Token>sample string 1</Token>
  <RedirectUrl>sample string 2</RedirectUrl>
  <SiteMapName>sample string 3</SiteMapName>
  <LanguageName>sample string 4</LanguageName>
  <AppId>1</AppId>
</SitesRedirectnModel>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string>sample string 1</string>