Profile


Overview

Provides information about the logged in Coworker.


GET /en/profile?_resource=Coworker

Provides all data for the logged in Coworker. Ensure you pass a valid Authorization header to call this endpoint.

GET /en/profile?_resource=Coworker
{
      "FullName": "Jonh Smith Demo",
      "GuessedFirstNameForInvoice": "Jonh",
      "GuessedLastNameForInvoice": "Smith",
      "GuessedFirstName": "Jonh",
      "GuessedLastName": "Demo",
      "Salutation": "Jonh",
      "Address": null,
      "PostCode": null,
      "CityName": null,
      "State": null,
      "Email": "yourdomain@nexudus.com",
      "Active": false,
      "DiscountCode": null,
      "RefererGuid": "",
      "ReferenceNumber": null,
      "IsNew": false,
      "CheckedIn": false,
      "DeleteAvatar": false,
      "DeleteBanner": false,
      "AvatarUrl": "/en/coworker/getavatar/303913610",
      "ProfileUrl": "/en/directory/profile/303913610/Jonh-Smith-demo",
      "CountryId": 1221,
      "SimpleTimeZoneId": 2023,
      "UtcNextInvoice": "2017-05-01T05:00:00",
      "TariffId": 289138871,
      "IsMember": true,
      "IsContact": false,
      "NextTariffId": 289138871,
      "CancellationDate": null,
      "UtcCancellationDate": null,
      "AbsoluteCancellationDate": null,
      "DoNotProcessInvoicesAutomatically": false,
      "MobilePhone": null,
      "LandLine": null,
      "NickName": null,
      "BusinessArea": null,
      "Position": null,
      "CompanyName": null,
      "ProfileTags": "",
      "ProfileTagsSpaces": "",
      "ProfileSummary": null,
      "ProfileWebsite": null,
      "Url": "http://yourdomain.spaces.nexudus.com/Public/Directory/Profile/303913610/Jonh-Smith-demo/",
      "Gender": "NotSet",
      "ProfileIsPublic": false,
      "RegistrationDate": "2017-02-24T23:45:00",
      "UtcRegistrationDate": "2017-02-24T23:45:00",
      "DateOfBirth": null,
      "UtcDateOfBirth": null,
      "Twitter": null,
      "Skype": null,
      "Facebook": null,
      "Linkedin": null,
      "Google": null,
      "Telegram": null,
      "Github": null,
      "Pinterest": null,
      "Flickr": null,
      "Instagram": null,
      "Vimeo": null,
      "Tumblr": null,
      "Blogger": null,
      "HasContactDetails": false,
      "BillingName": "Jonh Smith",
      "BillingEmail": null,
      "BillingAddress": "Not Available",
      "BillingPostCode": "Not Available",
      "BillingCityName": "Not Available",
      "BillingState": null,
      "TaxIDNumber": null,
      "CardNumber": null,
      "AccessPincode": "84735",
      "Custom1": "Cold Lead",
      "Custom2": null,
      "Custom3": null,
      "Custom4": null,
      "Custom5": null,
      "Custom6": null,
      "Custom7": null,
      "Custom8": null,
      "Custom9": null,
      "Custom10": null,
      "Custom11": null,
      "Custom12": null,
      "Custom13": null,
      "Custom14": null,
      "Custom15": null,
      "Custom16": null,
      "Custom17": null,
      "Custom18": null,
      "Custom19": null,
      "Custom20": null,
      "Custom21": null,
      "Custom22": null,
      "Custom23": null,
      "Custom24": null,
      "Custom25": null,
      "Custom26": null,
      "Custom27": null,
      "Custom28": null,
      "Custom29": null,
      "Custom30": null,
      "EmailForInvoice": "yourdomain@nexudus.com",
      "AddressForInvoice": "Not Available",
      "PostCodeForInvoice": "Not Available",
      "CityForInvoice": "Not Available",
      "StateForInvoice": "Not Available",
      "FullNameForInvoice": "Jonh Smith",
      "GeneralTermsAccepted": true,
      "AgeInDays": 53.505589444148143,
      "HasBanner": false,
      "Id": 303913610,
      "IdString": "303913610",
      "UpdatedOn": "2017-04-17T16:47:22",
      "CreatedOn": "2017-02-24T23:45:48",
      "UniqueId": "4facd6c3-a6fe-402e-a007-09795fab501b",
      "IsNull": false
}

GET /en/profile?_resource=User

Provides all data for the logged in User. Ensure you pass a valid Authorization header to call this endpoint.

GET /en/profile?_resource=User
{
  "FullName": "Adrian Palacios Demo",
  "Email": "demoaccount@nexudus.com",
  "OnHelpDeskMsg": false,
  "OnNewWallPost": false,
  "OnNewBlogComment": false,
  "OnNewEventComment": false,
  "ReceiveCommunityDigest": true,
  "ReceiveEveryMessage": true,
  "IsAuthenticated": true,
  "Id": 303914611,
  "IdString": "303914611",
  "UpdatedOn": "2017-04-19T00:43:11",
  "CreatedOn": "2017-02-24T23:45:48",
  "UniqueId": "d3767b81-49c3-4167-bd0b-d185a079e9ff",
  "IsNull": false
}

POST /en/profile

Updates the details of the logged in User and Coworker. Ensure you pass a valid Authorization header to call this endpoint.

POST /en/profile
parameters:

{
	"User": {
	  "FullName": "Adrian Palacios Demo",
	  "Email": "demoaccount@nexudus.com",
	  "OnHelpDeskMsg": false,
	  "OnNewWallPost": false,
	  "OnNewBlogComment": false,
	  "OnNewEventComment": false,
	  "ReceiveCommunityDigest": true,
	  "ReceiveEveryMessage": true,
	  "IsAuthenticated": true,
	  "Id": 303914611,
	  "IdString": "303914611",
	  "UpdatedOn": "2017-04-19T00:43:11",
	  "CreatedOn": "2017-02-24T23:45:48",
	  "UniqueId": "d3767b81-49c3-4167-bd0b-d185a079e9ff",
	  "IsNull": false
	},
	"Coworker":{
	  "FullName": "Adrian Palacios Demo",
	  "Salutation": "Adrian",
	  "Address": null,
	  "PostCode": null,
	  "CityName": null,
	  "State": null,
	  "Email": "demoaccount@nexudus.com",
	  "Active": false,
	  "DiscountCode": null,
	  "RefererGuid": "",
	  "ReferenceNumber": null,
	  "IsNew": false,
	  "CheckedIn": false,
	  "DeleteAvatar": false,
	  "DeleteBanner": false,
	  "CountryId": 1221,
	  "SimpleTimeZoneId": 2023,
	  "MobilePhone": null,
	  "LandLine": null,
	  "NickName": null,
	  "BusinessArea": null,
	  "Position": null,
	  "CompanyName": null,
	  "ProfileTags": "",
	  "ProfileSummary": null,
	  "ProfileWebsite": null,
	  "Gender": "NotSet",
	  "ProfileIsPublic": false,
	  "DateOfBirth": null,
	  "UtcDateOfBirth": null,
	  "Twitter": null,
	  "Skype": null,
	  "Facebook": null,
	  "Linkedin": null,
	  "Google": null,
	  "Telegram": null,
	  "Github": null,
	  "Pinterest": null,
	  "Flickr": null,
	  "Instagram": null,
	  "Vimeo": null,
	  "Tumblr": null,
	  "Blogger": null,
	  "BillingName": "Adrian Palacios",
	  "BillingEmail": null,
	  "BillingAddress": "Not Available",
	  "BillingPostCode": "Not Available",
	  "BillingCityName": "Not Available",
	  "BillingState": null,
	  "TaxIDNumber": null,
	  "CardNumber": null,
	  "AccessPincode": "84735",
	  "Custom1": "Cold Lead",
	  "Custom2": null,
	  "Custom3": null,
	  "Custom4": null,
	  "Custom5": null,
	  "Custom6": null,
	  "Custom7": null,
	  "Custom8": null,
	  "Custom9": null,
	  "Custom10": null,
	  "Custom11": null,
	  "Custom12": null,
	  "Custom13": null,
	  "Custom14": null,
	  "Custom15": null,
	  "Custom16": null,
	  "Custom17": null,
	  "Custom18": null,
	  "Custom19": null,
	  "Custom20": null,
	  "Custom21": null,
	  "Custom22": null,
	  "Custom23": null,
	  "Custom24": null,
	  "Custom25": null,
	  "Custom26": null,
	  "Custom27": null,
	  "Custom28": null,
	  "Custom29": null,
	  "Custom30": null
	}
}

{
  "InfoMessage": null,
  "ErrorMessage": null,
  "SuccessMessage": "Saved!",
  "RedirectTo": "/en/profile"
}

or

{
  "InfoMessage": null,
  "ErrorMessage": "Please, check an correct all details",
  "SuccessMessage": null,
  "RedirectTo": "/en/profile"
}

POST /en/profile/deletevisitor

Removes a visitor

POST /en/profile
parameters:

id: the ID of the visitor to delete

{
  "InfoMessage": null,
  "ErrorMessage": null,
  "SuccessMessage": "Saved!",
}


Source: XML ! RSS