POST HospitalMaster/InsertUpdateHospitalMaster

Request Information

URI Parameters

None.

Body Parameters

tbl_HospitalMasterProp
NameDescriptionTypeAdditional information
HospitalCode

integer

None.

HospitalName

string

None.

Address

string

None.

AreaCode

integer

None.

CityCode

integer

None.

StateCode

integer

None.

ContactNo

string

None.

EmailID

string

None.

RegistrationNo

string

None.

ContactPerson

string

None.

MobileNo

string

None.

isActive

integer

None.

HospitalLogo

string

None.

CreatedBy

integer

None.

CreatedDateTime

date

None.

UpdatedBy

integer

None.

UpdatedDateTime

date

None.

SearchBy

string

None.

SearchVal

string

None.

PageNo

integer

None.

RecordCount

integer

None.

UserCode

integer

None.

UserName

string

None.

Password

string

None.

Request Formats

application/json, text/json

Sample:
{
  "HospitalCode": 1,
  "HospitalName": "sample string 2",
  "Address": "sample string 3",
  "AreaCode": 4,
  "CityCode": 5,
  "StateCode": 6,
  "ContactNo": "sample string 7",
  "EmailID": "sample string 8",
  "RegistrationNo": "sample string 9",
  "ContactPerson": "sample string 10",
  "MobileNo": "sample string 11",
  "isActive": 12,
  "HospitalLogo": "sample string 13",
  "CreatedBy": 14,
  "CreatedDateTime": "2022-08-09T13:29:15.1187007-07:00",
  "UpdatedBy": 16,
  "UpdatedDateTime": "2022-08-09T13:29:15.1187007-07:00",
  "SearchBy": "sample string 18",
  "SearchVal": "sample string 19",
  "PageNo": 20,
  "RecordCount": 21,
  "UserCode": 22,
  "UserName": "sample string 23",
  "Password": "sample string 24"
}

text/html

Sample:
{"HospitalCode":1,"HospitalName":"sample string 2","Address":"sample string 3","AreaCode":4,"CityCode":5,"StateCode":6,"ContactNo":"sample string 7","EmailID":"sample string 8","RegistrationNo":"sample string 9","ContactPerson":"sample string 10","MobileNo":"sample string 11","isActive":12,"HospitalLogo":"sample string 13","CreatedBy":14,"CreatedDateTime":"2022-08-09T13:29:15.1187007-07:00","UpdatedBy":16,"UpdatedDateTime":"2022-08-09T13:29:15.1187007-07:00","SearchBy":"sample string 18","SearchVal":"sample string 19","PageNo":20,"RecordCount":21,"UserCode":22,"UserName":"sample string 23","Password":"sample string 24"}

application/xml, text/xml

Sample:
<tbl_HospitalMasterProp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ClaimManagementProp">
  <Address>sample string 3</Address>
  <AreaCode>4</AreaCode>
  <CityCode>5</CityCode>
  <ContactNo>sample string 7</ContactNo>
  <ContactPerson>sample string 10</ContactPerson>
  <CreatedBy>14</CreatedBy>
  <CreatedDateTime>2022-08-09T13:29:15.1187007-07:00</CreatedDateTime>
  <EmailID>sample string 8</EmailID>
  <HospitalCode>1</HospitalCode>
  <HospitalLogo>sample string 13</HospitalLogo>
  <HospitalName>sample string 2</HospitalName>
  <MobileNo>sample string 11</MobileNo>
  <PageNo>20</PageNo>
  <Password>sample string 24</Password>
  <RecordCount>21</RecordCount>
  <RegistrationNo>sample string 9</RegistrationNo>
  <SearchBy>sample string 18</SearchBy>
  <SearchVal>sample string 19</SearchVal>
  <StateCode>6</StateCode>
  <UpdatedBy>16</UpdatedBy>
  <UpdatedDateTime>2022-08-09T13:29:15.1187007-07:00</UpdatedDateTime>
  <UserCode>22</UserCode>
  <UserName>sample string 23</UserName>
  <isActive>12</isActive>
</tbl_HospitalMasterProp>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.