PATCH api/UserProfile/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

DeltaOfUserProfile
NameDescriptionTypeAdditional information
EntityType

Type

None.

ExpectedClrType

Type

None.

Request Formats

application/json, text/json

Sample:
{
  "receiveUpdates": false,
  "acceptedEula": false,
  "userId": null,
  "iosVersion": null,
  "androidVersion": null,
  "user": null,
  "userProfileUserGroups": 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

UserProfile
NameDescriptionTypeAdditional information
ReceiveUpdates

boolean

None.

AcceptedEula

boolean

None.

UserId

string

Required

IosVersion

string

String length: inclusive between 0 and 100

AndroidVersion

string

String length: inclusive between 0 and 100

UserProfileUserGroups

Collection of UserProfileUserGroup

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 '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 'userProfileUserGroups[0].userGroup.pushNotifications[0].userGroups'.