POST api/v1/{providerId}/infrastructure/notifications/{notificationId}/view
Mark notification as viewed
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| providerId | globally unique identifier |
Required |
|
| notificationId | globally unique identifier |
Required |
Body Parameters
Com.Healthbridge.Core.CommonDomain.Interface.Commands.MarkNotificationAsViewed| Name | Description | Type | Additional information |
|---|---|---|---|
| ProviderId | globally unique identifier |
None. |
|
| NotificationId | globally unique identifier |
None. |
|
| CorrelationIds | Collection of string |
None. |
|
| OriginatedSystem | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ProviderId": "d88e6463-8082-47e3-be4c-73b196b235ed",
"NotificationId": "0655f67d-5ec5-49e3-81b8-6d805aa69807",
"CorrelationIds": [
"sample string 1",
"sample string 2"
],
"OriginatedSystem": "sample string 3"
}
application/xml, text/xml
Sample:
<MarkNotificationAsViewed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.Commands">
<CorrelationIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</CorrelationIds>
<OriginatedSystem xmlns="http://mpsapi.healthbridge.com/platform/core/v1/command/">sample string 3</OriginatedSystem>
<NotificationId>0655f67d-5ec5-49e3-81b8-6d805aa69807</NotificationId>
<ProviderId>d88e6463-8082-47e3-be4c-73b196b235ed</ProviderId>
</MarkNotificationAsViewed>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiResultOfSystem.Guid| Name | Description | Type | Additional information |
|---|---|---|---|
| Sucess | boolean |
None. |
|
| ResponseCode | integer |
None. |
|
| ResponseMessage | string |
None. |
|
| Data | globally unique identifier |
None. |
|
| Links | Collection of Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects.RestApiLink |
None. |
Response Formats
application/json, text/json
Sample:
{
"Sucess": true,
"ResponseCode": 2,
"ResponseMessage": "sample string 3",
"Data": "2b333957-dbc0-495c-8078-ac25acf4e0a1",
"Links": [
{
"Rel": "sample string 1",
"HRef": "sample string 2"
},
{
"Rel": "sample string 1",
"HRef": "sample string 2"
}
]
}
application/xml, text/xml
Sample:
<RestApiResultOfguid xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Com.Healthbridge.Core.CommonDomain.Interface.ValueObjects">
<Data>2b333957-dbc0-495c-8078-ac25acf4e0a1</Data>
<Links>
<RestApiLink>
<HRef>sample string 2</HRef>
<Rel>sample string 1</Rel>
</RestApiLink>
<RestApiLink>
<HRef>sample string 2</HRef>
<Rel>sample string 1</Rel>
</RestApiLink>
</Links>
<ResponseCode>2</ResponseCode>
<ResponseMessage>sample string 3</ResponseMessage>
<Sucess>true</Sucess>
</RestApiResultOfguid>