POST api/Profile/Index
Create a new brand profile record with the provided attributes when user is registered in Cognito
Request Information
URI Parameters
None.
Body Parameters
CreateProfileName | Description | Type | Additional information |
---|---|---|---|
emailAddress |
Email Address (username) |
string |
None. |
firstName |
First Name |
string |
None. |
lastName |
Last Name |
string |
None. |
password |
Password |
string |
None. |
cognitoProfileId |
CUPId |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "emailAddress": "sample string 1", "firstName": "sample string 2", "lastName": "sample string 3", "password": "sample string 4", "cognitoProfileId": "sample string 5" }
application/xml, text/xml
Sample:
<CreateProfile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdentityStore.Models"> <cognitoProfileId>sample string 5</cognitoProfileId> <emailAddress>sample string 1</emailAddress> <firstName>sample string 2</firstName> <lastName>sample string 3</lastName> <password>sample string 4</password> </CreateProfile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Profile object
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.