GET api/eportal/GetConsentsData

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ABHAConsents
NameDescriptionTypeAdditional information
ConsentsRequestsDataList

Collection of ConsentsRequestsData

None.

ConsentsApprovedDataList

Collection of ConsentsApprovedData

None.

ABDMApiResponseList

Collection of ABDM_Api_Response

None.

ConsentRequestFormList

Collection of ConsentRequestForm

None.

ConsentNewRequestFormList

Collection of ConsentRequestForm

None.

Response Formats

application/json, text/json

Sample:
{
  "ConsentsRequestsDataList": [
    {
      "ID": 1,
      "RequestsType": "sample string 2",
      "RequestDate": "2026-01-15T00:02:29.445713+05:30",
      "RequestsName": "sample string 4",
      "RequestsPurpose": "sample string 5",
      "RequestStatus": true,
      "message": "sample string 7",
      "success": true
    },
    {
      "ID": 1,
      "RequestsType": "sample string 2",
      "RequestDate": "2026-01-15T00:02:29.445713+05:30",
      "RequestsName": "sample string 4",
      "RequestsPurpose": "sample string 5",
      "RequestStatus": true,
      "message": "sample string 7",
      "success": true
    }
  ],
  "ConsentsApprovedDataList": [
    {
      "ID": 1,
      "ApprovalType": "sample string 2",
      "ApprovalDate": "2026-01-15T00:02:29.445713+05:30",
      "ApprovalName": "sample string 4",
      "ApprovalPurpose": "sample string 5",
      "ApprovalStatus": true,
      "message": "sample string 7",
      "success": true
    },
    {
      "ID": 1,
      "ApprovalType": "sample string 2",
      "ApprovalDate": "2026-01-15T00:02:29.445713+05:30",
      "ApprovalName": "sample string 4",
      "ApprovalPurpose": "sample string 5",
      "ApprovalStatus": true,
      "message": "sample string 7",
      "success": true
    }
  ],
  "ABDMApiResponseList": [
    {
      "ID": 1,
      "PID": "sample string 2",
      "ABDMCall": "sample string 3",
      "Url": "sample string 4",
      "Payload": "sample string 5",
      "Response": "sample string 6",
      "CreatedUser": "sample string 7",
      "CreateDate": "2026-01-15T00:02:29.445713+05:30",
      "UpdatedUser": "sample string 9",
      "UpdatedDate": "2026-01-15T00:02:29.445713+05:30"
    },
    {
      "ID": 1,
      "PID": "sample string 2",
      "ABDMCall": "sample string 3",
      "Url": "sample string 4",
      "Payload": "sample string 5",
      "Response": "sample string 6",
      "CreatedUser": "sample string 7",
      "CreateDate": "2026-01-15T00:02:29.445713+05:30",
      "UpdatedUser": "sample string 9",
      "UpdatedDate": "2026-01-15T00:02:29.445713+05:30"
    }
  ],
  "ConsentRequestFormList": [
    {
      "PatientIdentifier": "sample string 1",
      "PurposeOfRequest": "sample string 2",
      "HealthInfoFrom": "sample string 3",
      "HealthInfoTo": "sample string 4",
      "HealthInfoType": "sample string 5",
      "ConsentExpiry": "sample string 6",
      "consentId": "sample string 7",
      "consentStatus": "sample string 8",
      "consentGrantedOn": "sample string 9",
      "consentCreatedOn": "sample string 10"
    },
    {
      "PatientIdentifier": "sample string 1",
      "PurposeOfRequest": "sample string 2",
      "HealthInfoFrom": "sample string 3",
      "HealthInfoTo": "sample string 4",
      "HealthInfoType": "sample string 5",
      "ConsentExpiry": "sample string 6",
      "consentId": "sample string 7",
      "consentStatus": "sample string 8",
      "consentGrantedOn": "sample string 9",
      "consentCreatedOn": "sample string 10"
    }
  ],
  "ConsentNewRequestFormList": [
    {
      "PatientIdentifier": "sample string 1",
      "PurposeOfRequest": "sample string 2",
      "HealthInfoFrom": "sample string 3",
      "HealthInfoTo": "sample string 4",
      "HealthInfoType": "sample string 5",
      "ConsentExpiry": "sample string 6",
      "consentId": "sample string 7",
      "consentStatus": "sample string 8",
      "consentGrantedOn": "sample string 9",
      "consentCreatedOn": "sample string 10"
    },
    {
      "PatientIdentifier": "sample string 1",
      "PurposeOfRequest": "sample string 2",
      "HealthInfoFrom": "sample string 3",
      "HealthInfoTo": "sample string 4",
      "HealthInfoType": "sample string 5",
      "ConsentExpiry": "sample string 6",
      "consentId": "sample string 7",
      "consentStatus": "sample string 8",
      "consentGrantedOn": "sample string 9",
      "consentCreatedOn": "sample string 10"
    }
  ]
}

text/html

Sample:
{"ConsentsRequestsDataList":[{"ID":1,"RequestsType":"sample string 2","RequestDate":"2026-01-15T00:02:29.445713+05:30","RequestsName":"sample string 4","RequestsPurpose":"sample string 5","RequestStatus":true,"message":"sample string 7","success":true},{"ID":1,"RequestsType":"sample string 2","RequestDate":"2026-01-15T00:02:29.445713+05:30","RequestsName":"sample string 4","RequestsPurpose":"sample string 5","RequestStatus":true,"message":"sample string 7","success":true}],"ConsentsApprovedDataList":[{"ID":1,"ApprovalType":"sample string 2","ApprovalDate":"2026-01-15T00:02:29.445713+05:30","ApprovalName":"sample string 4","ApprovalPurpose":"sample string 5","ApprovalStatus":true,"message":"sample string 7","success":true},{"ID":1,"ApprovalType":"sample string 2","ApprovalDate":"2026-01-15T00:02:29.445713+05:30","ApprovalName":"sample string 4","ApprovalPurpose":"sample string 5","ApprovalStatus":true,"message":"sample string 7","success":true}],"ABDMApiResponseList":[{"ID":1,"PID":"sample string 2","ABDMCall":"sample string 3","Url":"sample string 4","Payload":"sample string 5","Response":"sample string 6","CreatedUser":"sample string 7","CreateDate":"2026-01-15T00:02:29.445713+05:30","UpdatedUser":"sample string 9","UpdatedDate":"2026-01-15T00:02:29.445713+05:30"},{"ID":1,"PID":"sample string 2","ABDMCall":"sample string 3","Url":"sample string 4","Payload":"sample string 5","Response":"sample string 6","CreatedUser":"sample string 7","CreateDate":"2026-01-15T00:02:29.445713+05:30","UpdatedUser":"sample string 9","UpdatedDate":"2026-01-15T00:02:29.445713+05:30"}],"ConsentRequestFormList":[{"PatientIdentifier":"sample string 1","PurposeOfRequest":"sample string 2","HealthInfoFrom":"sample string 3","HealthInfoTo":"sample string 4","HealthInfoType":"sample string 5","ConsentExpiry":"sample string 6","consentId":"sample string 7","consentStatus":"sample string 8","consentGrantedOn":"sample string 9","consentCreatedOn":"sample string 10"},{"PatientIdentifier":"sample string 1","PurposeOfRequest":"sample string 2","HealthInfoFrom":"sample string 3","HealthInfoTo":"sample string 4","HealthInfoType":"sample string 5","ConsentExpiry":"sample string 6","consentId":"sample string 7","consentStatus":"sample string 8","consentGrantedOn":"sample string 9","consentCreatedOn":"sample string 10"}],"ConsentNewRequestFormList":[{"PatientIdentifier":"sample string 1","PurposeOfRequest":"sample string 2","HealthInfoFrom":"sample string 3","HealthInfoTo":"sample string 4","HealthInfoType":"sample string 5","ConsentExpiry":"sample string 6","consentId":"sample string 7","consentStatus":"sample string 8","consentGrantedOn":"sample string 9","consentCreatedOn":"sample string 10"},{"PatientIdentifier":"sample string 1","PurposeOfRequest":"sample string 2","HealthInfoFrom":"sample string 3","HealthInfoTo":"sample string 4","HealthInfoType":"sample string 5","ConsentExpiry":"sample string 6","consentId":"sample string 7","consentStatus":"sample string 8","consentGrantedOn":"sample string 9","consentCreatedOn":"sample string 10"}]}

application/xml, text/xml

Sample:
<ABHAConsents xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MobileWebAPI.Models">
  <ABDMApiResponseList>
    <ABDM_Api_Response>
      <ABDMCall>sample string 3</ABDMCall>
      <CreateDate>2026-01-15T00:02:29.445713+05:30</CreateDate>
      <CreatedUser>sample string 7</CreatedUser>
      <ID>1</ID>
      <PID>sample string 2</PID>
      <Payload>sample string 5</Payload>
      <Response>sample string 6</Response>
      <UpdatedDate>2026-01-15T00:02:29.445713+05:30</UpdatedDate>
      <UpdatedUser>sample string 9</UpdatedUser>
      <Url>sample string 4</Url>
    </ABDM_Api_Response>
    <ABDM_Api_Response>
      <ABDMCall>sample string 3</ABDMCall>
      <CreateDate>2026-01-15T00:02:29.445713+05:30</CreateDate>
      <CreatedUser>sample string 7</CreatedUser>
      <ID>1</ID>
      <PID>sample string 2</PID>
      <Payload>sample string 5</Payload>
      <Response>sample string 6</Response>
      <UpdatedDate>2026-01-15T00:02:29.445713+05:30</UpdatedDate>
      <UpdatedUser>sample string 9</UpdatedUser>
      <Url>sample string 4</Url>
    </ABDM_Api_Response>
  </ABDMApiResponseList>
  <ConsentNewRequestFormList>
    <ConsentRequestForm>
      <ConsentExpiry>sample string 6</ConsentExpiry>
      <HealthInfoFrom>sample string 3</HealthInfoFrom>
      <HealthInfoTo>sample string 4</HealthInfoTo>
      <HealthInfoType>sample string 5</HealthInfoType>
      <PatientIdentifier>sample string 1</PatientIdentifier>
      <PurposeOfRequest>sample string 2</PurposeOfRequest>
      <consentCreatedOn>sample string 10</consentCreatedOn>
      <consentGrantedOn>sample string 9</consentGrantedOn>
      <consentId>sample string 7</consentId>
      <consentStatus>sample string 8</consentStatus>
    </ConsentRequestForm>
    <ConsentRequestForm>
      <ConsentExpiry>sample string 6</ConsentExpiry>
      <HealthInfoFrom>sample string 3</HealthInfoFrom>
      <HealthInfoTo>sample string 4</HealthInfoTo>
      <HealthInfoType>sample string 5</HealthInfoType>
      <PatientIdentifier>sample string 1</PatientIdentifier>
      <PurposeOfRequest>sample string 2</PurposeOfRequest>
      <consentCreatedOn>sample string 10</consentCreatedOn>
      <consentGrantedOn>sample string 9</consentGrantedOn>
      <consentId>sample string 7</consentId>
      <consentStatus>sample string 8</consentStatus>
    </ConsentRequestForm>
  </ConsentNewRequestFormList>
  <ConsentRequestFormList>
    <ConsentRequestForm>
      <ConsentExpiry>sample string 6</ConsentExpiry>
      <HealthInfoFrom>sample string 3</HealthInfoFrom>
      <HealthInfoTo>sample string 4</HealthInfoTo>
      <HealthInfoType>sample string 5</HealthInfoType>
      <PatientIdentifier>sample string 1</PatientIdentifier>
      <PurposeOfRequest>sample string 2</PurposeOfRequest>
      <consentCreatedOn>sample string 10</consentCreatedOn>
      <consentGrantedOn>sample string 9</consentGrantedOn>
      <consentId>sample string 7</consentId>
      <consentStatus>sample string 8</consentStatus>
    </ConsentRequestForm>
    <ConsentRequestForm>
      <ConsentExpiry>sample string 6</ConsentExpiry>
      <HealthInfoFrom>sample string 3</HealthInfoFrom>
      <HealthInfoTo>sample string 4</HealthInfoTo>
      <HealthInfoType>sample string 5</HealthInfoType>
      <PatientIdentifier>sample string 1</PatientIdentifier>
      <PurposeOfRequest>sample string 2</PurposeOfRequest>
      <consentCreatedOn>sample string 10</consentCreatedOn>
      <consentGrantedOn>sample string 9</consentGrantedOn>
      <consentId>sample string 7</consentId>
      <consentStatus>sample string 8</consentStatus>
    </ConsentRequestForm>
  </ConsentRequestFormList>
  <ConsentsApprovedDataList>
    <ConsentsApprovedData>
      <ApprovalDate>2026-01-15T00:02:29.445713+05:30</ApprovalDate>
      <ApprovalName>sample string 4</ApprovalName>
      <ApprovalPurpose>sample string 5</ApprovalPurpose>
      <ApprovalStatus>true</ApprovalStatus>
      <ApprovalType>sample string 2</ApprovalType>
      <ID>1</ID>
      <message>sample string 7</message>
      <success>true</success>
    </ConsentsApprovedData>
    <ConsentsApprovedData>
      <ApprovalDate>2026-01-15T00:02:29.445713+05:30</ApprovalDate>
      <ApprovalName>sample string 4</ApprovalName>
      <ApprovalPurpose>sample string 5</ApprovalPurpose>
      <ApprovalStatus>true</ApprovalStatus>
      <ApprovalType>sample string 2</ApprovalType>
      <ID>1</ID>
      <message>sample string 7</message>
      <success>true</success>
    </ConsentsApprovedData>
  </ConsentsApprovedDataList>
  <ConsentsRequestsDataList>
    <ConsentsRequestsData>
      <ID>1</ID>
      <RequestDate>2026-01-15T00:02:29.445713+05:30</RequestDate>
      <RequestStatus>true</RequestStatus>
      <RequestsName>sample string 4</RequestsName>
      <RequestsPurpose>sample string 5</RequestsPurpose>
      <RequestsType>sample string 2</RequestsType>
      <message>sample string 7</message>
      <success>true</success>
    </ConsentsRequestsData>
    <ConsentsRequestsData>
      <ID>1</ID>
      <RequestDate>2026-01-15T00:02:29.445713+05:30</RequestDate>
      <RequestStatus>true</RequestStatus>
      <RequestsName>sample string 4</RequestsName>
      <RequestsPurpose>sample string 5</RequestsPurpose>
      <RequestsType>sample string 2</RequestsType>
      <message>sample string 7</message>
      <success>true</success>
    </ConsentsRequestsData>
  </ConsentsRequestsDataList>
</ABHAConsents>