GET User/MyProfile
Get the profile details for the signed in user, contained in a User object.
Requires Authorization
The endpoint requires a bearer token in the http authorization header. For example "bearer 2YotnFZFEjr1zCsicMWpAA"
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A User object containing the profile details for the signed in user.
User| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the user's id |
integer |
None. |
|
Gets or sets the user's email address |
string |
None. |
|
| SendEmailsAsHtml |
Gets or sets a value indicating whether an email is sent as Html to the user |
boolean |
None. |
| ReceiveEmails |
Gets or sets a value indicating whether to send emails to user |
boolean |
None. |
| IsBuyer |
Gets or sets a value indicating whether user is a Buyer |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"id": 1,
"email": "joe.bloggs@org.co.uk",
"sendEmailsAsHtml": true,
"receiveEmails": true,
"isBuyer": true
}
application/xml, text/xml
Sample:
<User xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IPL.ContractsFinder.BusinessEntities"> <Email>joe.bloggs@org.co.uk</Email> <Id>1</Id> <IsBuyer>true</IsBuyer> <ReceiveEmails>true</ReceiveEmails> <SendEmailsAsHtml>true</SendEmailsAsHtml> </User>