POST api/innotas/recieveevents

Recieve Events Events that were snyhcronized

Request Information

URI Parameters

None.

Body Parameters

Collection of InnotasEventApiViewModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

SessionId

globally unique identifier

None.

EventId

globally unique identifier

None.

UserName

string

None.

HolidayDate

date

None.

RoleId

integer

None.

ProjectId

integer

None.

HolidayValue

decimal number

None.

ErrorCount

integer

None.

ErrorMessage

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": "4ad98617-50c6-435a-b979-7d1db47103eb",
    "SessionId": "a66490d0-2a37-4e89-a53b-57795a402bca",
    "EventId": "b41679fd-64f2-4863-b1b2-8825d90ee9cb",
    "UserName": "sample string 4",
    "HolidayDate": "2024-09-19T10:11:13.4384818+02:00",
    "RoleId": 6,
    "ProjectId": 7,
    "HolidayValue": 8.1,
    "ErrorCount": 9,
    "ErrorMessage": "sample string 10"
  },
  {
    "Id": "4ad98617-50c6-435a-b979-7d1db47103eb",
    "SessionId": "a66490d0-2a37-4e89-a53b-57795a402bca",
    "EventId": "b41679fd-64f2-4863-b1b2-8825d90ee9cb",
    "UserName": "sample string 4",
    "HolidayDate": "2024-09-19T10:11:13.4384818+02:00",
    "RoleId": 6,
    "ProjectId": 7,
    "HolidayValue": 8.1,
    "ErrorCount": 9,
    "ErrorMessage": "sample string 10"
  }
]

text/html

Sample:
[{"Id":"4ad98617-50c6-435a-b979-7d1db47103eb","SessionId":"a66490d0-2a37-4e89-a53b-57795a402bca","EventId":"b41679fd-64f2-4863-b1b2-8825d90ee9cb","UserName":"sample string 4","HolidayDate":"2024-09-19T10:11:13.4384818+02:00","RoleId":6,"ProjectId":7,"HolidayValue":8.1,"ErrorCount":9,"ErrorMessage":"sample string 10"},{"Id":"4ad98617-50c6-435a-b979-7d1db47103eb","SessionId":"a66490d0-2a37-4e89-a53b-57795a402bca","EventId":"b41679fd-64f2-4863-b1b2-8825d90ee9cb","UserName":"sample string 4","HolidayDate":"2024-09-19T10:11:13.4384818+02:00","RoleId":6,"ProjectId":7,"HolidayValue":8.1,"ErrorCount":9,"ErrorMessage":"sample string 10"}]

application/xml, text/xml

Sample:
<ArrayOfInnotasEventApiViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.HolidayPlannerNL.BLL.Models.ApiModels">
  <InnotasEventApiViewModel>
    <ErrorCount>9</ErrorCount>
    <ErrorMessage>sample string 10</ErrorMessage>
    <EventId>b41679fd-64f2-4863-b1b2-8825d90ee9cb</EventId>
    <HolidayDate>2024-09-19T10:11:13.4384818+02:00</HolidayDate>
    <HolidayValue>8.1</HolidayValue>
    <Id>4ad98617-50c6-435a-b979-7d1db47103eb</Id>
    <ProjectId>7</ProjectId>
    <RoleId>6</RoleId>
    <SessionId>a66490d0-2a37-4e89-a53b-57795a402bca</SessionId>
    <UserName>sample string 4</UserName>
  </InnotasEventApiViewModel>
  <InnotasEventApiViewModel>
    <ErrorCount>9</ErrorCount>
    <ErrorMessage>sample string 10</ErrorMessage>
    <EventId>b41679fd-64f2-4863-b1b2-8825d90ee9cb</EventId>
    <HolidayDate>2024-09-19T10:11:13.4384818+02:00</HolidayDate>
    <HolidayValue>8.1</HolidayValue>
    <Id>4ad98617-50c6-435a-b979-7d1db47103eb</Id>
    <ProjectId>7</ProjectId>
    <RoleId>6</RoleId>
    <SessionId>a66490d0-2a37-4e89-a53b-57795a402bca</SessionId>
    <UserName>sample string 4</UserName>
  </InnotasEventApiViewModel>
</ArrayOfInnotasEventApiViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Void

Collection of InnotasRecievedEventApiViewModel
NameDescriptionTypeAdditional information
SyncRecordId

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "SyncRecordId": "89bbbd31-c5ad-43cc-8885-b7370275d8bc"
  },
  {
    "SyncRecordId": "89bbbd31-c5ad-43cc-8885-b7370275d8bc"
  }
]

text/html

Sample:
[{"SyncRecordId":"89bbbd31-c5ad-43cc-8885-b7370275d8bc"},{"SyncRecordId":"89bbbd31-c5ad-43cc-8885-b7370275d8bc"}]

application/xml, text/xml

Sample:
<ArrayOfInnotasRecievedEventApiViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Deufol.HolidayPlannerNL.BLL.Models.ApiModels">
  <InnotasRecievedEventApiViewModel>
    <SyncRecordId>89bbbd31-c5ad-43cc-8885-b7370275d8bc</SyncRecordId>
  </InnotasRecievedEventApiViewModel>
  <InnotasRecievedEventApiViewModel>
    <SyncRecordId>89bbbd31-c5ad-43cc-8885-b7370275d8bc</SyncRecordId>
  </InnotasRecievedEventApiViewModel>
</ArrayOfInnotasRecievedEventApiViewModel>