PUT api/HPIConfigs

Request Information

URI Parameters

None.

Body Parameters

HPIConfig
NameDescriptionTypeAdditional information
HPIElementId

integer

None.

Name

string

Required

Options

string

None.

HpiBillingElementId

integer

None.

IsAssociatedSymptom

boolean

None.

IsRadiation

boolean

None.

IsLocation

boolean

None.

IsQuality

boolean

None.

SecondaryLabel

string

None.

SecondaryOptions

string

None.

IsActive

boolean

None.

HpiBillingElement

HpiBillingElement

None.

Request Formats

application/json, text/json

Sample:
{
  "hpiElementId": 1,
  "name": "sample string 2",
  "options": "sample string 3",
  "hpiBillingElementId": 4,
  "isAssociatedSymptom": true,
  "isRadiation": true,
  "isLocation": true,
  "isQuality": true,
  "secondaryLabel": "sample string 9",
  "secondaryOptions": "sample string 10",
  "isActive": true,
  "hpiBillingElement": {
    "hpiBillingElementId": 1,
    "name": "sample string 2",
    "isActive": true
  }
}

text/html

Sample:
{"hpiElementId":1,"name":"sample string 2","options":"sample string 3","hpiBillingElementId":4,"isAssociatedSymptom":true,"isRadiation":true,"isLocation":true,"isQuality":true,"secondaryLabel":"sample string 9","secondaryOptions":"sample string 10","isActive":true,"hpiBillingElement":{"hpiBillingElementId":1,"name":"sample string 2","isActive":true}}

application/xml, text/xml

Sample:
<HPIConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UrgentCareExtra.Data.Models">
  <HPIElementId>1</HPIElementId>
  <HpiBillingElement>
    <HpiBillingElementId>1</HpiBillingElementId>
    <IsActive>true</IsActive>
    <Name>sample string 2</Name>
  </HpiBillingElement>
  <HpiBillingElementId>4</HpiBillingElementId>
  <IsActive>true</IsActive>
  <IsAssociatedSymptom>true</IsAssociatedSymptom>
  <IsLocation>true</IsLocation>
  <IsQuality>true</IsQuality>
  <IsRadiation>true</IsRadiation>
  <Name>sample string 2</Name>
  <Options>sample string 3</Options>
  <SecondaryLabel>sample string 9</SecondaryLabel>
  <SecondaryOptions>sample string 10</SecondaryOptions>
</HPIConfig>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.