POST api/Employees/UploadClockInPhoto

Request Information

URI Parameters

None.

Body Parameters

UploadPhotoParams
NameDescriptionTypeAdditional information
RecordId

integer

Required

Photo

string

Required

PhotoMIMEType

string

Required

Request Formats

application/json, text/json

Sample:
{
  "RecordId": 1,
  "Photo": "sample string 2",
  "PhotoMIMEType": "sample string 3"
}

application/xml, text/xml

Sample:
<UploadPhotoParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CrowsNest.Api">
  <Photo>sample string 2</Photo>
  <PhotoMIMEType>sample string 3</PhotoMIMEType>
  <RecordId>1</RecordId>
</UploadPhotoParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>