POST api/users/me/avatar

This method will update user's Avatar to the uploaded images

Requires Authorization!

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Instance of

UserProfileModel
NameDescriptionTypeAdditional information
Socials

Collection of SocialAuthProvider

None.

PtfSubscriptionProfile

UserPtfSubscriptionProfileModel

None.

AttorneyUserProfile

UserProfileModel

None.

EmployeeInfo

EmployeeResponseModel

None.

EmailGeneratorUrl

string

None.

Id

integer

None.

UserId

integer

None.

FirstName

string

None.

LastName

string

None.

PhoneNumber

string

None.

Fax

string

None.

UserName

string

None.

Avatar

string

None.

Email

string

None.

PersonalInfo

UserPersonalInfo

None.

BusinessInfo

UserBusinessInfo

None.

SubscriptionProfile

UserSubscriptionProfileModel

None.

UsageStatistics

UsageStatistics

None.

PaymentProfile

UserPaymentProfileInfo

None.

AddedDate

date

None.

LastModifiedDate

date

None.

EmailConfirmed

boolean

None.

PasswordSet

boolean

None.

Roles

Collection of string

None.

PaymentGatewayId

integer

None.

PaymentGatewayIsLiveMode

boolean

None.

PaymentGatewayPublicKey

string

None.

PaymentGatewayPublicTestKey

string

None.

EnablePtfSalesView

boolean

None.

ActiveAttorneyUserId

integer

None.

DefaultAttorneyUserId

integer

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 for property 'attorneyUserProfile' with type 'Ptd.Model.Pos.UserProfileModel'. Path ''.

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 for property 'attorneyUserProfile' with type 'Ptd.Model.Pos.UserProfileModel'. Path ''.

text/html

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/html'. Exception message: Self referencing loop detected for property 'attorneyUserProfile' with type 'Ptd.Model.Pos.UserProfileModel'. Path ''.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'Ptd.Model.Pos.UserProfileModel' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'Ptd.Model.Pos.UserProfileModel' contains cycles and cannot be serialized if reference tracking is disabled.