POST api/HospitalManagement/Delete

Request Information

URI Parameters

None.

Body Parameters

HospitalBindingModel
NameDescriptionTypeAdditional information
HospitalId

integer

None.

MarketId

integer

Required

HospitalName

string

Required

String length: inclusive between 0 and 128

EntityName

string

String length: inclusive between 0 and 128

OrganizationHospitalId

integer

None.

Address1

string

String length: inclusive between 0 and 50

Address2

string

None.

City

string

String length: inclusive between 0 and 50

StateId

integer

None.

PostalCode

string

None.

Country

string

None.

ContactName

string

None.

ContactTelephone

string

None.

ContactEmail

string

None.

UpdateKey

integer

None.

SavedUserId

string

None.

SavedDateTime

date

None.

TrunkNumber

string

None.

Address3

string

None.

Address4

string

None.

OldCkcId

integer

None.

OldDnId

integer

None.

CmnHospitalId

string

None.

DefaultHospitalForMarket

boolean

None.

CanDelete

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "hospitalId": 1,
  "marketId": 2,
  "hospitalName": "sample string 3",
  "entityName": "sample string 4",
  "organizationHospitalId": 1,
  "address1": "sample string 5",
  "address2": "sample string 6",
  "city": "sample string 7",
  "stateId": 1,
  "postalCode": "sample string 8",
  "country": "sample string 9",
  "contactName": "sample string 10",
  "contactTelephone": "sample string 11",
  "contactEmail": "sample string 12",
  "updateKey": 1,
  "savedUserId": "sample string 13",
  "savedDateTime": "2023-02-03T11:20:45.9668925+00:00",
  "trunkNumber": "sample string 14",
  "address3": "sample string 15",
  "address4": "sample string 16",
  "oldCkcId": 1,
  "oldDnId": 1,
  "cmnHospitalId": "sample string 17",
  "defaultHospitalForMarket": true,
  "canDelete": true
}

application/xml, text/xml

Sample:
<HospitalBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMN.DonorNet.V3.Binding.Models">
  <Address1>sample string 5</Address1>
  <Address2>sample string 6</Address2>
  <Address3>sample string 15</Address3>
  <Address4>sample string 16</Address4>
  <CanDelete>true</CanDelete>
  <City>sample string 7</City>
  <CmnHospitalId>sample string 17</CmnHospitalId>
  <ContactEmail>sample string 12</ContactEmail>
  <ContactName>sample string 10</ContactName>
  <ContactTelephone>sample string 11</ContactTelephone>
  <Country>sample string 9</Country>
  <DefaultHospitalForMarket>true</DefaultHospitalForMarket>
  <EntityName>sample string 4</EntityName>
  <HospitalId>1</HospitalId>
  <HospitalName>sample string 3</HospitalName>
  <MarketId>2</MarketId>
  <OldCkcId>1</OldCkcId>
  <OldDnId>1</OldDnId>
  <OrganizationHospitalId>1</OrganizationHospitalId>
  <PostalCode>sample string 8</PostalCode>
  <SavedDateTime>2023-02-03T11:20:45.9668925+00:00</SavedDateTime>
  <SavedUserId>sample string 13</SavedUserId>
  <StateId>1</StateId>
  <TrunkNumber>sample string 14</TrunkNumber>
  <UpdateKey>1</UpdateKey>
</HospitalBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.