POST history/getdetails

Request Information

URI Parameters

None.

Body Parameters

Template
NameDescriptionTypeAdditional information
TemplateId

integer

None.

RoleId

integer

None.

TemplateParamers

Collection of TemplateParameter

None.

Request Formats

application/json, text/json

Sample:
{
  "TemplateId": 1,
  "RoleId": 2,
  "TemplateParamers": [
    {
      "ParamName": "sample string 1",
      "ParamValue": "sample string 2"
    },
    {
      "ParamName": "sample string 1",
      "ParamValue": "sample string 2"
    }
  ]
}

text/html

Sample:
{"TemplateId":1,"RoleId":2,"TemplateParamers":[{"ParamName":"sample string 1","ParamValue":"sample string 2"},{"ParamName":"sample string 1","ParamValue":"sample string 2"}]}

application/xml, text/xml

Sample:
<Template xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Templates">
  <RoleId>2</RoleId>
  <TemplateId>1</TemplateId>
  <TemplateParamers>
    <TemplateParameter>
      <ParamName>sample string 1</ParamName>
      <ParamValue>sample string 2</ParamValue>
    </TemplateParameter>
    <TemplateParameter>
      <ParamName>sample string 1</ParamName>
      <ParamValue>sample string 2</ParamValue>
    </TemplateParameter>
  </TemplateParamers>
</Template>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.