PUT api/Doctors/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DoctorDto
NameDescriptionTypeAdditional information
PersonId

integer

None.

DoctorId

integer

None.

FirstName

string

Required

String length: inclusive between 0 and 50

MiddleName

string

String length: inclusive between 0 and 50

LastName

string

Required

String length: inclusive between 0 and 50

Gender

string

Required

String length: inclusive between 0 and 1

Email

string

String length: inclusive between 0 and 200

Alias

string

String length: inclusive between 0 and 10

ClientIdentity

string

String length: inclusive between 0 and 36

DoctorLocations

Collection of integer

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PersonId": 1,
  "DoctorId": 2,
  "FirstName": "sample string 3",
  "MiddleName": "sample string 4",
  "LastName": "sample string 5",
  "Gender": "sample string 6",
  "Email": "sample string 7",
  "Alias": "sample string 8",
  "ClientIdentity": "sample string 9",
  "DoctorLocations": [
    1,
    2
  ],
  "IsActive": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Result

Object

None.

StatusCode

integer

None.

StatusGroup

string

None.

Details

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.