POST api/Notifications/UpdateUserSubscriptions

Request Information

URI Parameters

None.

Body Parameters

UserSubscriptionsModel
NameDescriptionTypeAdditional information
emailLanguage

string

None.

patientApprovalRequired

boolean

None.

reportAvailable

boolean

None.

firstSpecimenPastDue

boolean

None.

secondSpecimenPastDue

boolean

None.

unsentOrder

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "emailLanguage": "sample string 1",
  "patientApprovalRequired": true,
  "reportAvailable": true,
  "firstSpecimenPastDue": true,
  "secondSpecimenPastDue": true,
  "unsentOrder": true
}

application/xml, text/xml

Sample:
<UserSubscriptionsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.Domain.Entities.OutputModels">
  <emailLanguage>sample string 1</emailLanguage>
  <firstSpecimenPastDue>true</firstSpecimenPastDue>
  <patientApprovalRequired>true</patientApprovalRequired>
  <reportAvailable>true</reportAvailable>
  <secondSpecimenPastDue>true</secondSpecimenPastDue>
  <unsentOrder>true</unsentOrder>
</UserSubscriptionsModel>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.