POST api/StaticContent/GetStaticContent

Request Information

URI Parameters

None.

Body Parameters

ContentFilterInfo
NameDescriptionTypeAdditional information
AccountId

globally unique identifier

None.

ContentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": "1248e664-2c71-4e45-b130-05dbf82694bc",
  "ContentType": "sample string 2"
}

application/xml, text/xml

Sample:
<ContentFilterInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.StaticContentModule.Model">
  <AccountId>1248e664-2c71-4e45-b130-05dbf82694bc</AccountId>
  <ContentType>sample string 2</ContentType>
</ContentFilterInfo>

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

Response Information

Resource Description

StaticContentDto
NameDescriptionTypeAdditional information
AccountId

globally unique identifier

None.

DataType

string

None.

DataText

string

None.

DataTextFr

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountId": "83131a68-9c15-459a-b780-0f4465258e32",
  "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>83131a68-9c15-459a-b780-0f4465258e32</AccountId>
  <DataText>sample string 3</DataText>
  <DataTextFr>sample string 4</DataTextFr>
  <DataType>sample string 2</DataType>
</StaticContentDto>