POST api/ReportManager/CreateRedisInfo

Request Information

URI Parameters

None.

Body Parameters

InputCreateRedisInfoModel
NameDescriptionTypeAdditional information
Id

string

None.

Key

string

None.

Value

string

None.

Type

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Key": "sample string 2",
  "Value": "sample string 3",
  "Type": 4
}

application/xml, text/xml

Sample:
<InputCreateRedisInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Business.Core.Models.Input">
  <Id>sample string 1</Id>
  <Key>sample string 2</Key>
  <Type>4</Type>
  <Value>sample string 3</Value>
</InputCreateRedisInfoModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InvokeResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Code": 3
}

application/xml, text/xml

Sample:
<InvokeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Result">
  <Code>3</Code>
  <Message>sample string 2</Message>
  <Success>true</Success>
</InvokeResult>