PUT api/EmCodes

Request Information

URI Parameters

None.

Body Parameters

EmCode
NameDescriptionTypeAdditional information
EmCodeId

integer

None.

Code

string

Required

Name

string

Required

Summary

string

None.

InsuranceCost

decimal number

None.

IsExistingPatient

boolean

Required

IsNewPatient

boolean

Required

IsLevel1

boolean

Required

IsLevel2

boolean

Required

IsLevel3

boolean

Required

IsLevel4

boolean

Required

IsLevel5

boolean

Required

IsSpecialCode

boolean

Required

IsActive

boolean

Required

IsHouseCode

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "emCodeId": 1,
  "code": "sample string 2",
  "name": "sample string 3",
  "summary": "sample string 4",
  "insuranceCost": 5.0,
  "isExistingPatient": true,
  "isNewPatient": true,
  "isLevel1": true,
  "isLevel2": true,
  "isLevel3": true,
  "isLevel4": true,
  "isLevel5": true,
  "isSpecialCode": true,
  "isActive": true,
  "isHouseCode": true
}

text/html

Sample:
{"emCodeId":1,"code":"sample string 2","name":"sample string 3","summary":"sample string 4","insuranceCost":5.0,"isExistingPatient":true,"isNewPatient":true,"isLevel1":true,"isLevel2":true,"isLevel3":true,"isLevel4":true,"isLevel5":true,"isSpecialCode":true,"isActive":true,"isHouseCode":true}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'UrgentCareExtra.Data.Models.AdjustmentCodeClinic' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'UrgentCareExtra.Data.Models.AdjustmentCodeClinic' contains cycles and cannot be serialized if reference tracking is disabled.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.