PUT api/Hospital/Put

Request Information

URI Parameters

None.

Body Parameters

Hospital
NameDescriptionTypeAdditional information
HospitalTypeId

globally unique identifier

None.

HospitalTypeName

string

None.

ParentHospitalId

globally unique identifier

None.

Name

string

None.

ShortName

string

None.

AddressId

globally unique identifier

None.

ContactId

globally unique identifier

None.

Website

string

None.

FromTime

time interval

None.

ToTime

time interval

None.

HospitalLogo

Collection of byte

None.

HospitalLogoImage

string

None.

HospitalHeader

Collection of byte

None.

HospitalHeaderImage

string

None.

PANNo

string

None.

GSTNo

string

None.

EnquiryNo

string

None.

WeeklyOff

integer

None.

MaxFutureAppointmentDays

integer

None.

IsRosterApplicable

boolean

None.

RegistrationNo

string

None.

LicenseNo

string

None.

WeeklyOffDays

WeekDays

None.

Id

globally unique identifier

None.

IsActive

boolean

None.

TransactedBy

string

None.

TransactedDate

date

None.

Remark

string

None.

Version

integer

None.

LastChanged

Collection of byte

None.

LogInfo

LogInfo

None.

DocumentNumber

string

None.

IsSelected

boolean

None.

IsDirty

boolean

None.

Messege

string

None.

Errors

Collection of Object

None.

HasErrors

boolean

None.

HasSystemErrors

boolean

None.

HasValidationErrors

boolean

None.

IsDeleted

boolean

None.

PrimaryKeyName

string

None.

PrimaryKeyValue

globally unique identifier

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'HasErrors' on 'LifeLineAPI.BusinessPortal.Model.Hospital'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'HasErrors' on 'LifeLineAPI.BusinessPortal.Model.Hospital'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'Manorama2.Logging.LogInfo' with data contract name 'LogInfo:http://schemas.datacontract.org/2004/07/Manorama2.Logging' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'Manorama2.Logging.LogInfo' with data contract name 'LogInfo:http://schemas.datacontract.org/2004/07/Manorama2.Logging' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.