PUT api/investigation

Request Information

URI Parameters

None.

Body Parameters

PatientInvestigationViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

PatientId

integer

None.

InvestigationCategory

integer

None.

InvestCatName

string

None.

InvestigationSubCategory

integer

None.

InvestSubCatName

string

None.

DateOfInvestigtion

date

None.

objResultViewModellist

Collection of PatientInvestigationResultViewModel

None.

objAttch

Collection of AttachmentsViewModel

None.

CreatedDate

date

None.

CreatedBy

integer

None.

ModifiedDate

date

None.

ModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PatientId": 2,
  "InvestigationCategory": 1,
  "InvestCatName": "sample string 3",
  "InvestigationSubCategory": 1,
  "InvestSubCatName": "sample string 4",
  "DateOfInvestigtion": "2025-12-10T10:42:28.6370167-08:00",
  "objResultViewModellist": [
    {
      "Id": 1,
      "PatientInvestId": 2,
      "InvestigationFieldsId": 1,
      "InvestFieldName": "sample string 3",
      "InvestigationResult": "sample string 4",
      "Notes": "sample string 5",
      "MinDesired": "sample string 6",
      "MaxDesired": "sample string 7",
      "CreatedDate": "2025-12-10T10:42:28.6370167-08:00",
      "CreatedBy": 9,
      "ModifiedDate": "2025-12-10T10:42:28.6370167-08:00",
      "ModifiedBy": 1
    },
    {
      "Id": 1,
      "PatientInvestId": 2,
      "InvestigationFieldsId": 1,
      "InvestFieldName": "sample string 3",
      "InvestigationResult": "sample string 4",
      "Notes": "sample string 5",
      "MinDesired": "sample string 6",
      "MaxDesired": "sample string 7",
      "CreatedDate": "2025-12-10T10:42:28.6370167-08:00",
      "CreatedBy": 9,
      "ModifiedDate": "2025-12-10T10:42:28.6370167-08:00",
      "ModifiedBy": 1
    }
  ],
  "objAttch": [
    {
      "Id": 1,
      "EntityType": 2,
      "EntityId": 3,
      "Title": "sample string 4",
      "AttachmentUniqueId": "sample string 5",
      "Description": "sample string 6",
      "Tag": "sample string 7",
      "FileName": "sample string 8",
      "FileExt": "sample string 9",
      "MediaType": "sample string 10",
      "MediaString": "sample string 11",
      "IsTempAttachment": true,
      "AbsoluteURL": "prmsapi.rachitsoftsol.com//PermanentAttachments/sample string 5/sample string 8",
      "SubCategoryName": "sample string 14",
      "CreatedDate": "2025-12-10T10:42:28.6370167-08:00",
      "CreatedBy": 16,
      "ModifiedDate": "2025-12-10T10:42:28.6370167-08:00",
      "ModifiedBy": 1
    },
    {
      "Id": 1,
      "EntityType": 2,
      "EntityId": 3,
      "Title": "sample string 4",
      "AttachmentUniqueId": "sample string 5",
      "Description": "sample string 6",
      "Tag": "sample string 7",
      "FileName": "sample string 8",
      "FileExt": "sample string 9",
      "MediaType": "sample string 10",
      "MediaString": "sample string 11",
      "IsTempAttachment": true,
      "AbsoluteURL": "prmsapi.rachitsoftsol.com//PermanentAttachments/sample string 5/sample string 8",
      "SubCategoryName": "sample string 14",
      "CreatedDate": "2025-12-10T10:42:28.6370167-08:00",
      "CreatedBy": 16,
      "ModifiedDate": "2025-12-10T10:42:28.6370167-08:00",
      "ModifiedBy": 1
    }
  ],
  "CreatedDate": "2025-12-10T10:42:28.6370167-08:00",
  "CreatedBy": 6,
  "ModifiedDate": "2025-12-10T10:42:28.6370167-08:00",
  "ModifiedBy": 1
}

application/xml, text/xml

Sample:
<PatientInvestigationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMS.ViewModel">
  <CreatedBy>6</CreatedBy>
  <CreatedDate>2025-12-10T10:42:28.6370167-08:00</CreatedDate>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2025-12-10T10:42:28.6370167-08:00</ModifiedDate>
  <DateOfInvestigtion>2025-12-10T10:42:28.6370167-08:00</DateOfInvestigtion>
  <Id>1</Id>
  <InvestCatName>sample string 3</InvestCatName>
  <InvestSubCatName>sample string 4</InvestSubCatName>
  <InvestigationCategory>1</InvestigationCategory>
  <InvestigationSubCategory>1</InvestigationSubCategory>
  <PatientId>2</PatientId>
  <objAttch>
    <AttachmentsViewModel>
      <CreatedBy>16</CreatedBy>
      <CreatedDate>2025-12-10T10:42:28.6370167-08:00</CreatedDate>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2025-12-10T10:42:28.6370167-08:00</ModifiedDate>
      <AbsoluteURL>prmsapi.rachitsoftsol.com//PermanentAttachments/sample string 5/sample string 8</AbsoluteURL>
      <AttachmentUniqueId>sample string 5</AttachmentUniqueId>
      <Description>sample string 6</Description>
      <EntityId>3</EntityId>
      <EntityType>2</EntityType>
      <FileExt>sample string 9</FileExt>
      <FileName>sample string 8</FileName>
      <Id>1</Id>
      <IsTempAttachment>true</IsTempAttachment>
      <MediaString>sample string 11</MediaString>
      <MediaType>sample string 10</MediaType>
      <SubCategoryName>sample string 14</SubCategoryName>
      <Tag>sample string 7</Tag>
      <Title>sample string 4</Title>
    </AttachmentsViewModel>
    <AttachmentsViewModel>
      <CreatedBy>16</CreatedBy>
      <CreatedDate>2025-12-10T10:42:28.6370167-08:00</CreatedDate>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2025-12-10T10:42:28.6370167-08:00</ModifiedDate>
      <AbsoluteURL>prmsapi.rachitsoftsol.com//PermanentAttachments/sample string 5/sample string 8</AbsoluteURL>
      <AttachmentUniqueId>sample string 5</AttachmentUniqueId>
      <Description>sample string 6</Description>
      <EntityId>3</EntityId>
      <EntityType>2</EntityType>
      <FileExt>sample string 9</FileExt>
      <FileName>sample string 8</FileName>
      <Id>1</Id>
      <IsTempAttachment>true</IsTempAttachment>
      <MediaString>sample string 11</MediaString>
      <MediaType>sample string 10</MediaType>
      <SubCategoryName>sample string 14</SubCategoryName>
      <Tag>sample string 7</Tag>
      <Title>sample string 4</Title>
    </AttachmentsViewModel>
  </objAttch>
  <objResultViewModellist>
    <PatientInvestigationResultViewModel>
      <CreatedBy>9</CreatedBy>
      <CreatedDate>2025-12-10T10:42:28.6370167-08:00</CreatedDate>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2025-12-10T10:42:28.6370167-08:00</ModifiedDate>
      <Id>1</Id>
      <InvestFieldName>sample string 3</InvestFieldName>
      <InvestigationFieldsId>1</InvestigationFieldsId>
      <InvestigationResult>sample string 4</InvestigationResult>
      <MaxDesired>sample string 7</MaxDesired>
      <MinDesired>sample string 6</MinDesired>
      <Notes>sample string 5</Notes>
      <PatientInvestId>2</PatientInvestId>
    </PatientInvestigationResultViewModel>
    <PatientInvestigationResultViewModel>
      <CreatedBy>9</CreatedBy>
      <CreatedDate>2025-12-10T10:42:28.6370167-08:00</CreatedDate>
      <ModifiedBy>1</ModifiedBy>
      <ModifiedDate>2025-12-10T10:42:28.6370167-08:00</ModifiedDate>
      <Id>1</Id>
      <InvestFieldName>sample string 3</InvestFieldName>
      <InvestigationFieldsId>1</InvestigationFieldsId>
      <InvestigationResult>sample string 4</InvestigationResult>
      <MaxDesired>sample string 7</MaxDesired>
      <MinDesired>sample string 6</MinDesired>
      <Notes>sample string 5</Notes>
      <PatientInvestId>2</PatientInvestId>
    </PatientInvestigationResultViewModel>
  </objResultViewModellist>
</PatientInvestigationViewModel>

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.