POST api/Patient/SetStatus

Request Information

URI Parameters

None.

Body Parameters

PatientSetStatusRequest
NameDescriptionTypeAdditional information
patientStatus

PatientStatus

None.

Request Formats

application/json, text/json

Sample:
{
  "patientStatus": {
    "id": 1,
    "reportId": "sample string 2",
    "idTransport": 1,
    "deliveryInstructions": "sample string 3",
    "acceptPatientConfirmation": true,
    "acceptPatientConfirmationRole": "sample string 5",
    "acceptPatientConfirmationName": "sample string 6",
    "acceptPatientConfirmationWorkUnitName": "sample string 7",
    "created": "2025-12-11T02:50:45.9257579+01:00"
  }
}

application/xml, text/xml

Sample:
<PatientSetStatusRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Patient.Model">
  <PatientStatus>
    <AcceptPatient>true</AcceptPatient>
    <AcceptPatientFullName>sample string 6</AcceptPatientFullName>
    <AcceptPatientRole>sample string 5</AcceptPatientRole>
    <AcceptPatientWorkUnitName>sample string 7</AcceptPatientWorkUnitName>
    <Created>2025-12-11T02:50:45.9257579+01:00</Created>
    <DeliveryInstructions>sample string 3</DeliveryInstructions>
    <Id>1</Id>
    <Id_Transport>1</Id_Transport>
    <ReportId>sample string 2</ReportId>
  </PatientStatus>
</PatientSetStatusRequest>

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

Response Information

Resource Description

PatientSetStatusResponse
NameDescriptionTypeAdditional information
mesasge

string

None.

isSuccess

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "mesasge": "sample string 1",
  "isSuccess": true
}

application/xml, text/xml

Sample:
<PatientSetStatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Areas.Patient.Model">
  <IsSuccess xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">true</IsSuccess>
  <Mesasge xmlns="http://schemas.datacontract.org/2004/07/NMP3000Api.Models">sample string 1</Mesasge>
</PatientSetStatusResponse>