POST api/InfraredBusinessService/TestAjax

Request Information

URI Parameters

None.

Body Parameters

RecvReqParamEntity
NameDescriptionTypeAdditional information
username

string

None.

pwd

string

None.

uid

integer

None.

tokenId

string

None.

codeSetID

integer

None.

countryCode

string

None.

brandId

integer

None.

originalCode

string

None.

serialNumber

integer

None.

pageNum

integer

None.

pageSize

integer

None.

isCombinationCode

integer

None.

isReverseCode

integer

None.

originalCodeSet

string

None.

codeSetVersion

string

None.

compressStyle

integer

None.

applianceType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "codeSetVersion": "sample string 1",
  "compressStyle": 2,
  "applianceType": 3,
  "username": "sample string 1",
  "pwd": "sample string 2",
  "uid": 3,
  "tokenId": "sample string 4",
  "codeSetID": 5,
  "countryCode": "sample string 6",
  "brandId": 7,
  "originalCode": "sample string 8",
  "serialNumber": 9,
  "pageNum": 10,
  "pageSize": 11,
  "isCombinationCode": 12,
  "isReverseCode": 13,
  "originalCodeSet": "sample string 14"
}

application/xml, text/xml

Sample:
<RecvReqParamEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oge.IOTPlat4.WebApi.InfraredCodeLibrary.Entity">
  <applianceType>3</applianceType>
  <brandId>7</brandId>
  <codeSetID>5</codeSetID>
  <codeSetVersion>sample string 1</codeSetVersion>
  <compressStyle>2</compressStyle>
  <countryCode>sample string 6</countryCode>
  <isCombinationCode>12</isCombinationCode>
  <isReverseCode>13</isReverseCode>
  <originalCode>sample string 8</originalCode>
  <originalCodeSet>sample string 14</originalCodeSet>
  <pageNum>10</pageNum>
  <pageSize>11</pageSize>
  <pwd>sample string 2</pwd>
  <serialNumber>9</serialNumber>
  <tokenId>sample string 4</tokenId>
  <uid>3</uid>
  <username>sample string 1</username>
</RecvReqParamEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.