POST api/HCP/InsertHCPDetails

Request Information

URI Parameters

None.

Body Parameters

HCPDetailsDTO
NameDescriptionTypeAdditional information
HCPCode

string

Required

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

PSpecialityId

integer

None.

QSpecialityId

integer

None.

QualificationId

integer

None.

DOB

date

None.

DOA

date

None.

MobileNo

string

None.

LandlineNo

string

None.

EmailId

string

None.

CreatedById

integer

None.

updatestatus

integer

None.

Domain

string

Required

Request Formats

application/json, text/json

Sample:
{
  "HCPCode": "sample string 1",
  "FirstName": "sample string 2",
  "MiddleName": "sample string 3",
  "LastName": "sample string 4",
  "PSpecialityId": 5,
  "QSpecialityId": 6,
  "QualificationId": 7,
  "DOB": "2021-12-09T03:09:11.9563947+05:30",
  "DOA": "2021-12-09T03:09:11.9563947+05:30",
  "MobileNo": "sample string 10",
  "LandlineNo": "sample string 11",
  "EmailId": "sample string 12",
  "CreatedById": 13,
  "updatestatus": 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 'HCPDetailsDTO'.

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": {}
}