POST api/StaticContent/UpsertStaticContent

Request Information

URI Parameters

None.

Body Parameters

StaticContentDto
NameDescriptionTypeAdditional information
AccountId

globally unique identifier

None.

DataType

string

None.

DataText

string

None.

DataTextFr

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "3c26cb0a-3153-40fc-b771-a260a4ed27a7",
  "DataType": "sample string 2",
  "DataText": "sample string 3",
  "DataTextFr": "sample string 4"
}

application/xml, text/xml

Sample:
<StaticContentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.StaticContentModule.Model">
  <AccountId>3c26cb0a-3153-40fc-b771-a260a4ed27a7</AccountId>
  <DataText>sample string 3</DataText>
  <DataTextFr>sample string 4</DataTextFr>
  <DataType>sample string 2</DataType>
</StaticContentDto>

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

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>