POST Api/LwotReason/Update

Request Information

URI Parameters

None.

Body Parameters

LwotReason
NameDescriptionTypeAdditional information
LwotReasonId

integer

None.

Reason

string

None.

IsActive

boolean

None.

LwotCategoryId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "lwotReasonId": 1,
  "reason": "sample string 2",
  "isActive": true,
  "lwotCategoryId": 1
}

text/html

Sample:
{"lwotReasonId":1,"reason":"sample string 2","isActive":true,"lwotCategoryId":1}

application/xml, text/xml

Sample:
<LwotReason xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Data.Models">
  <IsActive>true</IsActive>
  <LwotCategory>
    <IsActive>true</IsActive>
    <LwotCategoryId>1</LwotCategoryId>
    <Name>sample string 2</Name>
  </LwotCategory>
  <LwotCategoryId>1</LwotCategoryId>
  <LwotReasonId>1</LwotReasonId>
  <Reason>sample string 2</Reason>
</LwotReason>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.