POST api/Employee/PostEmployeeLog

Request Information

URI Parameters

None.

Body Parameters

EmployeeLog
NameDescriptionTypeAdditional information
LogId

globally unique identifier

None.

EmployeeId

globally unique identifier

None.

Employee

Employee

None.

OutletId

globally unique identifier

None.

CheckIn

date

None.

CheckOut

date

None.

Completed

boolean

None.

Synced

boolean

None.

EmployeeName

string

None.

SSNo

string

None.

EmpNO

string

None.

AttendanceDate

date

None.

CheckinDateFormat

string

None.

CheckoutDateFormat

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LogId": "b72b76a2-5c31-47d9-843a-32de36d25588",
  "EmployeeId": "cd0808aa-3c30-439b-8d08-d1daa316da6e",
  "Employee": {
    "$id": "2",
    "Id": "9a325056-3602-48ff-bf2e-2c511f5d9b66",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "EmpNO": "sample string 4",
    "SSNO": "sample string 5",
    "Email": "sample string 6",
    "Deleted": true,
    "Created": "2024-05-16T19:42:49.0322225+02:00",
    "Updated": "2024-05-16T19:42:49.0322225+02:00",
    "Logs": [
      {
        "$ref": "1"
      },
      {
        "$ref": "1"
      }
    ],
    "Name": "sample string 2 sample string 3"
  },
  "OutletId": "8976bce0-0aa6-40f5-9590-9e1be4d1fdb5",
  "CheckIn": "2024-05-16T19:42:49.0322225+02:00",
  "CheckOut": "2024-05-16T19:42:49.0322225+02:00",
  "Completed": true,
  "Synced": true,
  "EmployeeName": "sample string 6",
  "SSNo": "sample string 7",
  "EmpNO": "sample string 8",
  "AttendanceDate": "2024-05-16T19:42:49.0322225+02:00",
  "CheckinDateFormat": "2024-05-16 19:42",
  "CheckoutDateFormat": "2024-05-16 19:42"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.