Profile

GET api/v2/Profile

Description: Returns a the current user profile Example: https://api.totalsynergy.com/api/v2/Profile Response:

{
"username": "JoeBlogs",
"firstName": "Joe",
"lastName": "Blogs",
"email": "joeBlogs@interns.rule",
"cultureId": "en-AU",
"timezoneId": "AUS Eastern Standard Time",
"country": "Australia"
}
                

Try it out

Loading...
200
        {Response body}
			
Method
GET
Request Headers
'Content-Type': 'application/json' token
URL
http://some url here.com

GET api/v2/Profile/GetOrganisations

Description: Gets the organisations for the current user. Example: https://api.totalsynergy.com/api/v2/Profile/GetOrganisations Response:

[
  {
    "slug": "another",
    "name": "Another",
    "logoUrl": "https://profileimages.azurewebsites.net/synergy/80/A.jpg"
  },
  {
    "slug": "bambooIntegrations",
    "name": "Bamboo Integration Constructions",
    "logoUrl": "https://profileimages.azurewebsites.net/synergy/80/BIC.jpg"
  },
  {
    "slug": "demo",
    "name": "Demo",
    "logoUrl": "https://profileimages.azurewebsites.net/synergy/80/D.jpg"
  },
  {
    "slug": "entrepreneursrus",
    "name": "Entrepreneurs R US",
    "logoUrl": "https://profileimages.azurewebsites.net/synergy/80/ERU.jpg"
  },
  {
    "slug": "hagscorp",
    "name": "HagsCorp",
    "logoUrl": "https://profileimages.azurewebsites.net/synergy/80/H.jpg"
  }
]
                        

GET api/v2/Profile/GetProfileImageUrl

Description: Returns the profile image url Example: https://api.totalsynergy.com/api/v2/Profile/GetProfileImageUrl Response:

"https://profileimages.azurewebsites.net/synergy/54/AH.jpg"