POST api/innotas/updateinnotasseroleids

Recieve Events User role Id and email

Request Information

URI Parameters

None.

Body Parameters

Dictionary of string [key] and string [value]

Request Formats

application/json, text/json

Sample:
{
  "sample string 1": "sample string 2",
  "sample string 3": "sample string 4"
}

text/html

Sample:
{"sample string 1":"sample string 2","sample string 3":"sample string 4"}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringstring>
    <Key>sample string 1</Key>
    <Value>sample string 2</Value>
  </KeyValueOfstringstring>
  <KeyValueOfstringstring>
    <Key>sample string 3</Key>
    <Value>sample string 4</Value>
  </KeyValueOfstringstring>
</ArrayOfKeyValueOfstringstring>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Void

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.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "a5be7254-6641-4dd7-a2b5-328bc5900e98",
    "SessionId": "8447f94b-3006-4675-b897-836840aebdc3",
    "EventId": "636129e3-1bdb-4a04-8bbb-0d6f475a90ad",
    "UserName": "sample string 4",
    "HolidayDate": "2024-09-19T10:10:49.1914871+02:00",
    "RoleId": 6,
    "ProjectId": 7,
    "HolidayValue": 8.1,
    "ErrorCount": 9,
    "ErrorMessage": "sample string 10"
  },
  {
    "Id": "a5be7254-6641-4dd7-a2b5-328bc5900e98",
    "SessionId": "8447f94b-3006-4675-b897-836840aebdc3",
    "EventId": "636129e3-1bdb-4a04-8bbb-0d6f475a90ad",
    "UserName": "sample string 4",
    "HolidayDate": "2024-09-19T10:10:49.1914871+02:00",
    "RoleId": 6,
    "ProjectId": 7,
    "HolidayValue": 8.1,
    "ErrorCount": 9,
    "ErrorMessage": "sample string 10"
  }
]

text/html

Sample:
[{"Id":"a5be7254-6641-4dd7-a2b5-328bc5900e98","SessionId":"8447f94b-3006-4675-b897-836840aebdc3","EventId":"636129e3-1bdb-4a04-8bbb-0d6f475a90ad","UserName":"sample string 4","HolidayDate":"2024-09-19T10:10:49.1914871+02:00","RoleId":6,"ProjectId":7,"HolidayValue":8.1,"ErrorCount":9,"ErrorMessage":"sample string 10"},{"Id":"a5be7254-6641-4dd7-a2b5-328bc5900e98","SessionId":"8447f94b-3006-4675-b897-836840aebdc3","EventId":"636129e3-1bdb-4a04-8bbb-0d6f475a90ad","UserName":"sample string 4","HolidayDate":"2024-09-19T10:10:49.1914871+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>636129e3-1bdb-4a04-8bbb-0d6f475a90ad</EventId>
    <HolidayDate>2024-09-19T10:10:49.1914871+02:00</HolidayDate>
    <HolidayValue>8.1</HolidayValue>
    <Id>a5be7254-6641-4dd7-a2b5-328bc5900e98</Id>
    <ProjectId>7</ProjectId>
    <RoleId>6</RoleId>
    <SessionId>8447f94b-3006-4675-b897-836840aebdc3</SessionId>
    <UserName>sample string 4</UserName>
  </InnotasEventApiViewModel>
  <InnotasEventApiViewModel>
    <ErrorCount>9</ErrorCount>
    <ErrorMessage>sample string 10</ErrorMessage>
    <EventId>636129e3-1bdb-4a04-8bbb-0d6f475a90ad</EventId>
    <HolidayDate>2024-09-19T10:10:49.1914871+02:00</HolidayDate>
    <HolidayValue>8.1</HolidayValue>
    <Id>a5be7254-6641-4dd7-a2b5-328bc5900e98</Id>
    <ProjectId>7</ProjectId>
    <RoleId>6</RoleId>
    <SessionId>8447f94b-3006-4675-b897-836840aebdc3</SessionId>
    <UserName>sample string 4</UserName>
  </InnotasEventApiViewModel>
</ArrayOfInnotasEventApiViewModel>