POST api/UserProfile

Request Information

URI Parameters

None.

Body Parameters

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.

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

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.