POST api/ApiMain/API_spCallGetRedis

Request Information

URI Parameters

None.

Body Parameters

JsonModelRedis
NameDescriptionTypeAdditional information
key

string

None.

data

string

None.

Request Formats

application/json, text/json

Sample:
{
  "key": "sample string 1",
  "data": "sample string 2"
}

text/html

Sample:
{"key":"sample string 1","data":"sample string 2"}

application/xml, text/xml

Sample:
<JsonModelRedis xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NETCO.ERP.API.Models">
  <data>sample string 2</data>
  <key>sample string 1</key>
</JsonModelRedis>

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

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>