POST api/UserPushNotification

Request Information

URI Parameters

None.

Body Parameters

UserPushNotification
NameDescriptionTypeAdditional information
UserId

string

Required

PushNotificationId

string

Required

User

ApplicationUser

None.

PushNotification

PushNotification

None.

Id

string

None.

Version

Collection of byte

None.

CreatedAt

date

None.

UpdatedAt

date

None.

Deleted

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected with type 'Hornady.Data.Entities.UserGroup'. Path 'user.userProfiles[0].userProfileUserGroups[0].userGroup.pushNotifications[0].userGroups'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected with type 'Hornady.Data.Entities.UserGroup'. Path 'user.userProfiles[0].userProfileUserGroups[0].userGroup.pushNotifications[0].userGroups'.

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.