PATCH api/UserPushNotification/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

DeltaOfUserPushNotification
NameDescriptionTypeAdditional information
EntityType

Type

None.

ExpectedClrType

Type

None.

Request Formats

application/json, text/json

Sample:
{
  "userId": null,
  "pushNotificationId": null,
  "user": null,
  "pushNotification": null,
  "id": null,
  "version": null,
  "createdAt": null,
  "updatedAt": null,
  "deleted": false
}

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 'Delta`1'.

Response Information

Resource Description

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.

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