POST api/Setting/PostEmployee

Post Employeee added from NIMPOS system

Request Information

URI Parameters

None.

Body Parameters

Employee Model

Employee
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

FirstName

string

None.

LastName

string

None.

EmpNO

string

None.

SSNO

string

None.

Email

string

None.

Deleted

boolean

None.

Created

date

None.

Updated

date

None.

Logs

Collection of EmployeeLog

None.

Name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "85707ea5-ce10-4e45-ad9d-8e1bcd829dc7",
  "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-16T11:18:13.6908563+02:00",
  "Updated": "2024-05-16T11:18:13.6908563+02:00",
  "Logs": [
    {
      "$id": "2",
      "LogId": "9756f0b8-b014-4098-9846-361d4edeee34",
      "EmployeeId": "70b9e043-bbc0-49b5-baa5-bf55615302e2",
      "Employee": {
        "$ref": "1"
      },
      "OutletId": "d733dcfa-343c-4b79-94c6-d5156bda5cef",
      "CheckIn": "2024-05-16T11:18:13.6918568+02:00",
      "CheckOut": "2024-05-16T11:18:13.6918568+02:00",
      "Completed": true,
      "Synced": true,
      "EmployeeName": "sample string 6",
      "SSNo": "sample string 7",
      "EmpNO": "sample string 8",
      "AttendanceDate": "2024-05-16T11:18:13.6928565+02:00",
      "CheckinDateFormat": "2024-05-16 11:18",
      "CheckoutDateFormat": "2024-05-16 11:18"
    },
    {
      "$ref": "2"
    }
  ],
  "Name": "sample string 2 sample string 3"
}

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.