PUT api/doctors

Request Information

URI Parameters

None.

Body Parameters

DoctorsViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

NameofDoctor

string

Required

String length: inclusive between 0 and 100

Description

string

String length: inclusive between 0 and 200

IsActive

boolean

None.

DesignationName

string

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "NameofDoctor": "sample string 2",
  "Description": "sample string 3",
  "IsActive": true,
  "DesignationName": "sample string 5",
  "CreatedDate": "2025-12-10T10:42:38.2160222-08:00",
  "CreatedBy": 7,
  "ModifiedDate": "2025-12-10T10:42:38.2160222-08:00",
  "ModifiedBy": 1
}

application/xml, text/xml

Sample:
<DoctorsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.ViewModel">
  <CreatedBy>7</CreatedBy>
  <CreatedDate>2025-12-10T10:42:38.2160222-08:00</CreatedDate>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2025-12-10T10:42:38.2160222-08:00</ModifiedDate>
  <Description>sample string 3</Description>
  <DesignationName>sample string 5</DesignationName>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <NameofDoctor>sample string 2</NameofDoctor>
</DoctorsViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.