POST api/Profile/Enroll
Enroll a new customer profile. Always call this method only after the profile has confirm valid with the 'Validate' method, or exception will be thrown.
Request Information
URI Parameters
None.
Body Parameters
The profile to enroll
ProfileModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Signatures |
Array of H5 row format of the signatures |
Collection of string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Signatures": [
"sample string 1",
"sample string 2"
]
}
application/xml, text/xml
Sample:
<ProfileModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WN.Concord.MOBioServer.WebAPI.Models">
<Signatures xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Signatures>
</ProfileModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Profile Guid identifier for the new enrolled profile
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />