POST api/employees/activesignature

Saves the signature supplied, activates it and associates it to the employee.

Request Information

URI Parameters

None.

Body Parameters

the signature to save.

EmployeeBase64Signature
NameDescriptionTypeAdditional information
signature

string

Required

dateTime

date

None.

Request Formats

application/json, text/json

Sample:
{
  "signature": "sample string 1",
  "dateTime": "2026-05-05T07:17:07.6806955-04:00"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EmployeeBase64Signature'.

Response Information

Resource Description

An Http response message with the folliwing status codes: 200 = success and returns the active signature, 400 = bad request (the request is malformed or with invalid data), 500 = something went wrong (the request was not processed).

UiEmployeeSignature
NameDescriptionTypeAdditional information
EmployeeSignatureId

integer

None.

EmployeeId

integer

None.

Signature

Collection of byte

None.

IsSupervisor

boolean

None.

DateCreated

date

None.

DateUpdated

date

None.

UpdatedByEmployeeId

integer

None.

IsActive

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "EmployeeSignatureId": 1,
  "EmployeeId": 1,
  "Signature": "QEA=",
  "IsSupervisor": true,
  "DateCreated": "2026-05-05T07:17:07.6806955-04:00",
  "DateUpdated": "2026-05-05T07:17:07.6806955-04:00",
  "UpdatedByEmployeeId": 1,
  "IsActive": true
}

application/xml, text/xml

Sample:
<UiEmployeeSignature xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CWI.Mobile.Domain.DTO">
  <DateCreated>2026-05-05T07:17:07.6806955-04:00</DateCreated>
  <DateUpdated>2026-05-05T07:17:07.6806955-04:00</DateUpdated>
  <EmployeeId>1</EmployeeId>
  <EmployeeSignatureId>1</EmployeeSignatureId>
  <IsActive>true</IsActive>
  <IsSupervisor>true</IsSupervisor>
  <Signature>QEA=</Signature>
  <UpdatedByEmployeeId>1</UpdatedByEmployeeId>
</UiEmployeeSignature>