POST api/FaceComparison/AddFace
Request Information
URI Parameters
None.
Body Parameters
AddFaceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | integer |
Required |
|
| ImageId | integer |
Required |
|
| FaceImage | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"UserId": 1,
"ImageId": 2,
"FaceImage": "sample string 3"
}
application/xml, text/xml
Sample:
<AddFaceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FacialComparison.Models.Dtos.Request"> <FaceImage>sample string 3</FaceImage> <ImageId>2</ImageId> <UserId>1</UserId> </AddFaceRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.