Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

MyProfile

Actionname:myprofile
Example-URL{YOUR_APP_URL}/api/profileservice?action=myprofile
Purpose:Retrieve the UserProfile for the currently logged in User
Method:GET
Parameter-
ResponseProfileOkResponse

...

ErrorResponseType
Profile not foundErrorResponse

Update

Actionname:update
Example-URL{YOUR_APP_URL}/api/profileservice?action=update
Purpose:Update UserProfile of the current User with supplied values
Method:POST
ParameterPayloadupdated UserProfile
ResponseProfileOkResponse

...

Register

Actionname:register
Example-URL{YOUR_APP_URL}/api/profileservice?action=register
Purpose:Creates a new UserProfile with the supplied values
Method:POST
ParameterPayloadnew UserProfile
ResponseEmptyOkResponse

...

Activate

Actionname:activate
Example-URL{YOUR_APP_URL}/api/profileservice?action=activate&cid=50M3-R4ND0M-K3Y
Purpose:Activates an already registered User
Method:GET
ParameterconfirmationId
ResponseProfileOkResponse

...