POST employee/timeclocks

Authorized only.

Request Information

URI Parameters

None.

Body Parameters

ApiPushRequestOfTimeClockApiModel
NameDescriptionTypeAdditional information
Inserted

Collection of TimeClockApiModel

None.

Updated

Collection of TimeClockApiModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Inserted": [
    {
      "CompanyId": 1,
      "EmployeeId": 1,
      "TimeIn": "2024-11-21T02:32:56.5150872-05:00",
      "TimeOut": "2024-11-21T02:32:56.5150872-05:00",
      "NotesIn": "sample string 3",
      "NotesOut": "sample string 4",
      "ModifiedDate": "2024-11-21T02:32:56.5150872-05:00",
      "TimeClockTypeId": 1,
      "ClockInDeviceId": "sample string 6",
      "ClockInRegisterName": "sample string 7",
      "ClockOutDeviceId": "sample string 8",
      "ClockOutRegisterName": "sample string 9",
      "InternalMobileId": 10,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "CompanyId": 1,
      "EmployeeId": 1,
      "TimeIn": "2024-11-21T02:32:56.5150872-05:00",
      "TimeOut": "2024-11-21T02:32:56.5150872-05:00",
      "NotesIn": "sample string 3",
      "NotesOut": "sample string 4",
      "ModifiedDate": "2024-11-21T02:32:56.5150872-05:00",
      "TimeClockTypeId": 1,
      "ClockInDeviceId": "sample string 6",
      "ClockInRegisterName": "sample string 7",
      "ClockOutDeviceId": "sample string 8",
      "ClockOutRegisterName": "sample string 9",
      "InternalMobileId": 10,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ],
  "Updated": [
    {
      "CompanyId": 1,
      "EmployeeId": 1,
      "TimeIn": "2024-11-21T02:32:56.5150872-05:00",
      "TimeOut": "2024-11-21T02:32:56.5150872-05:00",
      "NotesIn": "sample string 3",
      "NotesOut": "sample string 4",
      "ModifiedDate": "2024-11-21T02:32:56.5150872-05:00",
      "TimeClockTypeId": 1,
      "ClockInDeviceId": "sample string 6",
      "ClockInRegisterName": "sample string 7",
      "ClockOutDeviceId": "sample string 8",
      "ClockOutRegisterName": "sample string 9",
      "InternalMobileId": 10,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    },
    {
      "CompanyId": 1,
      "EmployeeId": 1,
      "TimeIn": "2024-11-21T02:32:56.5150872-05:00",
      "TimeOut": "2024-11-21T02:32:56.5150872-05:00",
      "NotesIn": "sample string 3",
      "NotesOut": "sample string 4",
      "ModifiedDate": "2024-11-21T02:32:56.5150872-05:00",
      "TimeClockTypeId": 1,
      "ClockInDeviceId": "sample string 6",
      "ClockInRegisterName": "sample string 7",
      "ClockOutDeviceId": "sample string 8",
      "ClockOutRegisterName": "sample string 9",
      "InternalMobileId": 10,
      "Id": 1,
      "MobileId": 1,
      "IsInserted": true,
      "IsUpdated": true,
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<ApiPushRequestOfTimeClockApiModel8eTFhRgR xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Api">
  <Inserted xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Employee">
    <d2p1:TimeClockApiModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
      <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">10</InternalMobileId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
      <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
      <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
      <ClockInDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 6</ClockInDeviceId>
      <ClockInRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 7</ClockInRegisterName>
      <ClockOutDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 8</ClockOutDeviceId>
      <ClockOutRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 9</ClockOutRegisterName>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</CompanyId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</EmployeeId>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</ModifiedDate>
      <NotesIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 3</NotesIn>
      <NotesOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 4</NotesOut>
      <TimeClockTypeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</TimeClockTypeId>
      <TimeIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeIn>
      <TimeOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeOut>
    </d2p1:TimeClockApiModel>
    <d2p1:TimeClockApiModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
      <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">10</InternalMobileId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
      <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
      <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
      <ClockInDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 6</ClockInDeviceId>
      <ClockInRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 7</ClockInRegisterName>
      <ClockOutDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 8</ClockOutDeviceId>
      <ClockOutRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 9</ClockOutRegisterName>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</CompanyId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</EmployeeId>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</ModifiedDate>
      <NotesIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 3</NotesIn>
      <NotesOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 4</NotesOut>
      <TimeClockTypeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</TimeClockTypeId>
      <TimeIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeIn>
      <TimeOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeOut>
    </d2p1:TimeClockApiModel>
  </Inserted>
  <Updated xmlns:d2p1="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Employee">
    <d2p1:TimeClockApiModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
      <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">10</InternalMobileId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
      <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
      <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
      <ClockInDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 6</ClockInDeviceId>
      <ClockInRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 7</ClockInRegisterName>
      <ClockOutDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 8</ClockOutDeviceId>
      <ClockOutRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 9</ClockOutRegisterName>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</CompanyId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</EmployeeId>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</ModifiedDate>
      <NotesIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 3</NotesIn>
      <NotesOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 4</NotesOut>
      <TimeClockTypeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</TimeClockTypeId>
      <TimeIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeIn>
      <TimeOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeOut>
    </d2p1:TimeClockApiModel>
    <d2p1:TimeClockApiModel>
      <Id xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</Id>
      <InternalMobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">10</InternalMobileId>
      <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsDeleted>
      <IsInserted xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsInserted>
      <IsUpdated xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">true</IsUpdated>
      <MobileId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Core.Entities.Mobile.Base">1</MobileId>
      <ClockInDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 6</ClockInDeviceId>
      <ClockInRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 7</ClockInRegisterName>
      <ClockOutDeviceId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 8</ClockOutDeviceId>
      <ClockOutRegisterName xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 9</ClockOutRegisterName>
      <CompanyId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</CompanyId>
      <EmployeeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</EmployeeId>
      <ModifiedDate xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</ModifiedDate>
      <NotesIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 3</NotesIn>
      <NotesOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">sample string 4</NotesOut>
      <TimeClockTypeId xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">1</TimeClockTypeId>
      <TimeIn xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeIn>
      <TimeOut xmlns="http://schemas.datacontract.org/2004/07/IConnect.Domain.Mobile.Employee">2024-11-21T02:32:56.5150872-05:00</TimeOut>
    </d2p1:TimeClockApiModel>
  </Updated>
</ApiPushRequestOfTimeClockApiModel8eTFhRgR>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.