POST api/PSAPI/MedicalFileupload

Request Information

URI Parameters

None.

Body Parameters

MedicalFileUpload
NameDescriptionTypeAdditional information
PanelistId

integer

None.

AttachmentType

string

None.

Attachment

string

None.

AttachmentFile

HttpPostedFileBase

None.

Request Formats

application/json, text/json

Sample:
{
  "panelistId": 1,
  "attachmentType": "sample string 2",
  "attachment": "sample string 3",
  "attachmentFile": null
}

text/xml

Sample:
<MedicalFileUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity">
  <Attachment>sample string 3</Attachment>
  <AttachmentFile xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" />
  <AttachmentType>sample string 2</AttachmentType>
  <PanelistId>1</PanelistId>
</MedicalFileUpload>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WSBaseEntity
NameDescriptionTypeAdditional information
Status

boolean

None.

Message

string

None.

HelpdeskEmailId

string

None.

StatusId

integer

None.

IsUserActive

boolean

None.

OTPInfo

string

None.

OTPInfoMessage

string

None.

CLI_Id

string

None.

isOtpLimitExceeded

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "isOtpLimitExceeded": true,
  "status": true,
  "message": "sample string 2",
  "helpdeskEmailId": "sample string 3",
  "statusId": 4,
  "isUserActive": true,
  "otpInfo": "sample string 6",
  "otpInfoMessage": "sample string 7",
  "clI_Id": "sample string 8"
}

text/xml

Sample:
<WSBaseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PMSBL.Entity">
  <_Message>sample string 2</_Message>
  <_Status>true</_Status>
  <_helpdeskEmailId>sample string 3</_helpdeskEmailId>
  <_isUserActive>true</_isUserActive>
  <_statusId>4</_statusId>
  <_x003C_CLI_Id_x003E_k__BackingField>sample string 8</_x003C_CLI_Id_x003E_k__BackingField>
  <_x003C_OTPInfoMessage_x003E_k__BackingField>sample string 7</_x003C_OTPInfoMessage_x003E_k__BackingField>
  <_x003C_OTPInfo_x003E_k__BackingField>sample string 6</_x003C_OTPInfo_x003E_k__BackingField>
  <isOtpLimitExceeded>true</isOtpLimitExceeded>
</WSBaseEntity>