POST {clientId}/Profile/{profileId}/Activate

This method will activate the profile that matches the ProfileId specified in the URI. If successful, it updates the IsActive flag to true. Once you activate a profile, all associated preferences can now be retrieved via any of the GET Preferences calls. If a reason for deactivation was submitted as part of the ReasonCode field when deactivating the profile, it will be removed when you activate the profile. All existing preferences will be restored if the PreservePreferences was set to true when the profile was deactivated.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientId

This is your organization’s MyPreferences account Id.

string

Required

profileId

Id associated with the profile that you want to activate.

integer

Required

Body Parameters

None.

Response Information

Response Codes

HTTP Status CodeTextDescription
200 OK The request was successfully processed.
400 Bad Request The request was invalid and cannot be processed. This may be a result of a malformed request. You must update the request before trying again.
401 Unauthorized Authentication credentials are missing or incorrect. You must verify your ClientId, UserId, and Authorization Scheme before trying again.
403 Forbidden The authentication credentials were insufficient to grant access to the requested resource. In most cases, your user may not have the appropriate permissions to access the requested resource. Verify User Group permissions for your user before trying again.
500 Internal Server Error The server encountered an unexpected condition that prevented it from fulfilling the request. Notify PossibleNOW Support if it’s a continuous occurrence.

Resource Description

None.

Response Formats

application/json, text/json, application/json-patch+json, application/xml, text/xml

Sample:

Sample not available.