POST api/HCP/UpdateHCPLocationDetails

Request Information

URI Parameters

None.

Body Parameters

UpdateHCPLocationDetailsDTO
NameDescriptionTypeAdditional information
locationid

integer

None.

hcpid

integer

None.

empid

integer

None.

locationtypeid

integer

None.

locationname

string

None.

hospitaltypeid

integer

None.

hospitalattachedtoid

string

None.

noofbeds

integer

None.

noofpatientsattended

integer

None.

address1

string

None.

address2

string

None.

state

integer

None.

city

integer

None.

pincode

string

None.

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "locationid": 1,
  "hcpid": 2,
  "empid": 3,
  "locationtypeid": 4,
  "locationname": "sample string 5",
  "hospitaltypeid": 6,
  "hospitalattachedtoid": "sample string 7",
  "noofbeds": 8,
  "noofpatientsattended": 9,
  "address1": "sample string 10",
  "address2": "sample string 11",
  "state": 12,
  "city": 13,
  "pincode": "sample string 14",
  "Domain": "sample string 15"
}

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

Response Information

Resource Description

Message
NameDescriptionTypeAdditional information
ResponseFlag

integer

None.

ResponseMessage

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseFlag": 1,
  "ResponseMessage": "sample string 2",
  "Data": {}
}