POST api/PatientSharedFiles

Modify the status of the file shared by the patient.

Request Information

URI Parameters

None.

Body Parameters

Model that identifies the shared file to modify. Possible values for Status are New, Incorporated and Not incorporated.

PatientSharedFileUpdateStatusModel
NameDescriptionTypeAdditional information
Id

ID of the file shared by the patient.

integer

None.

Status

Status of the file. Possible values are New, Incorporated, Not incorporated.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "status": "sample string 2"
}

application/xml, text/xml

Sample:
<PatientSharedFileUpdateStatusModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GlobalPortal.Api.Models.Patients.PatientSharedFiles">
  <Id>1</Id>
  <Status>sample string 2</Status>
</PatientSharedFileUpdateStatusModel>

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 'PatientSharedFileUpdateStatusModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.