POST api/ABHA/M2/PushNotification
Request Information
URI Parameters
None.
Body Parameters
HealthInformationNotifyRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| notification | HealthNotification |
None. |
|
| UserId | string |
None. |
|
| TerminalId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"notification": {
"consentId": "sample string 1",
"transactionId": "sample string 2",
"doneAt": "sample string 3",
"notifier": {
"type": "sample string 1",
"id": "sample string 2"
},
"statusNotification": {
"sessionStatus": "sample string 1",
"hipId": "sample string 2",
"statusResponses": [
{
"careContextReference": "sample string 1",
"hiStatus": "sample string 2",
"description": "sample string 3"
},
{
"careContextReference": "sample string 1",
"hiStatus": "sample string 2",
"description": "sample string 3"
}
]
}
},
"UserId": "sample string 1",
"TerminalId": "sample string 2"
}
application/xml, text/xml
Sample:
<Milestone2Controller.HealthInformationNotifyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ABHAAPI.Controllers">
<TerminalId>sample string 2</TerminalId>
<UserId>sample string 1</UserId>
<notification>
<consentId>sample string 1</consentId>
<doneAt>sample string 3</doneAt>
<notifier>
<id>sample string 2</id>
<type>sample string 1</type>
</notifier>
<statusNotification>
<hipId>sample string 2</hipId>
<sessionStatus>sample string 1</sessionStatus>
<statusResponses>
<Milestone2Controller.StatusResponse>
<careContextReference>sample string 1</careContextReference>
<description>sample string 3</description>
<hiStatus>sample string 2</hiStatus>
</Milestone2Controller.StatusResponse>
<Milestone2Controller.StatusResponse>
<careContextReference>sample string 1</careContextReference>
<description>sample string 3</description>
<hiStatus>sample string 2</hiStatus>
</Milestone2Controller.StatusResponse>
</statusResponses>
</statusNotification>
<transactionId>sample string 2</transactionId>
</notification>
</Milestone2Controller.HealthInformationNotifyRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.