POST api/SWM/FaceRegistration
Request Information
URI Parameters
None.
Body Parameters
FaceRegistrationModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Mode | integer |
None. |
|
| EmployeeId | string |
Required |
|
| EmployeeRole | string |
Required |
|
| Photo1 | string |
Required |
|
| Photo2 | string |
Required |
|
| Photo3 | string |
Required |
|
| Photo4 | string |
Required |
|
| Photo5 | string |
Required |
|
| Base64Image | Collection of string |
None. |
|
| ImgResStatus | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Mode": 1,
"EmployeeId": "sample string 2",
"EmployeeRole": "sample string 3",
"Photo1": "sample string 4",
"Photo2": "sample string 5",
"Photo3": "sample string 6",
"Photo4": "sample string 7",
"Photo5": "sample string 8",
"Base64Image": [
"sample string 1",
"sample string 2"
],
"ImgResStatus": 9
}
application/xml, text/xml
Sample:
<FaceRegistrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SWMAPIs.Models">
<Base64Image xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Base64Image>
<EmployeeId>sample string 2</EmployeeId>
<EmployeeRole>sample string 3</EmployeeRole>
<ImgResStatus>9</ImgResStatus>
<Mode>1</Mode>
<Photo1>sample string 4</Photo1>
<Photo2>sample string 5</Photo2>
<Photo3>sample string 6</Photo3>
<Photo4>sample string 7</Photo4>
<Photo5>sample string 8</Photo5>
</FaceRegistrationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |