POST api/getAllConsent

Request Information

URI Parameters

None.

Body Parameters

GetConsentsRequest
NameDescriptionTypeAdditional information
ConsentType

string

None.

StartDate

date

None.

EndDate

date

None.

IsActive

string

None.

ConsentId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "consentType": "sample string 1",
  "startDate": "2026-01-13T18:23:03.8336379+07:00",
  "endDate": "2026-01-13T18:23:03.8336379+07:00",
  "isActive": "sample string 2",
  "consentId": 3
}

application/xml, text/xml

Sample:
<GetConsentsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request">
  <ConsentId>3</ConsentId>
  <ConsentType>sample string 1</ConsentType>
  <EndDate>2026-01-13T18:23:03.8336379+07:00</EndDate>
  <IsActive>sample string 2</IsActive>
  <StartDate>2026-01-13T18:23:03.8336379+07:00</StartDate>
</GetConsentsRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.