PUT api/Answers/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AnswerModel
NameDescriptionTypeAdditional information
TestLink

integer

None.

QuesLink

integer

None.

Response

byte

None.

StandardReplyLink

integer

None.

CustomReplyLink

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TestLink": 1,
  "QuesLink": 2,
  "Response": 64,
  "StandardReplyLink": 4,
  "CustomReplyLink": 5
}

application/xml, text/xml

Sample:
<AnswerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Answers">
  <CustomReplyLink>5</CustomReplyLink>
  <QuesLink>2</QuesLink>
  <Response>64</Response>
  <StandardReplyLink>4</StandardReplyLink>
  <TestLink>1</TestLink>
</AnswerModel>

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

Response Information

Resource Description

None.