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 InnotasEventApiViewModelName | Description | Type | Additional 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": "3f480570-b590-47d9-b21c-3e6711b2730c", "SessionId": "18332fb1-1f16-4e92-9af8-167abf8cce1d", "EventId": "2dc1b2b3-1712-43bc-8fb9-4e6e4db2ccee", "UserName": "sample string 4", "HolidayDate": "2024-10-03T23:25:03.4917599+02:00", "RoleId": 6, "ProjectId": 7, "HolidayValue": 8.1, "ErrorCount": 9, "ErrorMessage": "sample string 10" }, { "Id": "3f480570-b590-47d9-b21c-3e6711b2730c", "SessionId": "18332fb1-1f16-4e92-9af8-167abf8cce1d", "EventId": "2dc1b2b3-1712-43bc-8fb9-4e6e4db2ccee", "UserName": "sample string 4", "HolidayDate": "2024-10-03T23:25:03.4917599+02:00", "RoleId": 6, "ProjectId": 7, "HolidayValue": 8.1, "ErrorCount": 9, "ErrorMessage": "sample string 10" } ]
text/html
Sample:
[{"Id":"3f480570-b590-47d9-b21c-3e6711b2730c","SessionId":"18332fb1-1f16-4e92-9af8-167abf8cce1d","EventId":"2dc1b2b3-1712-43bc-8fb9-4e6e4db2ccee","UserName":"sample string 4","HolidayDate":"2024-10-03T23:25:03.4917599+02:00","RoleId":6,"ProjectId":7,"HolidayValue":8.1,"ErrorCount":9,"ErrorMessage":"sample string 10"},{"Id":"3f480570-b590-47d9-b21c-3e6711b2730c","SessionId":"18332fb1-1f16-4e92-9af8-167abf8cce1d","EventId":"2dc1b2b3-1712-43bc-8fb9-4e6e4db2ccee","UserName":"sample string 4","HolidayDate":"2024-10-03T23:25:03.4917599+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>2dc1b2b3-1712-43bc-8fb9-4e6e4db2ccee</EventId> <HolidayDate>2024-10-03T23:25:03.4917599+02:00</HolidayDate> <HolidayValue>8.1</HolidayValue> <Id>3f480570-b590-47d9-b21c-3e6711b2730c</Id> <ProjectId>7</ProjectId> <RoleId>6</RoleId> <SessionId>18332fb1-1f16-4e92-9af8-167abf8cce1d</SessionId> <UserName>sample string 4</UserName> </InnotasEventApiViewModel> <InnotasEventApiViewModel> <ErrorCount>9</ErrorCount> <ErrorMessage>sample string 10</ErrorMessage> <EventId>2dc1b2b3-1712-43bc-8fb9-4e6e4db2ccee</EventId> <HolidayDate>2024-10-03T23:25:03.4917599+02:00</HolidayDate> <HolidayValue>8.1</HolidayValue> <Id>3f480570-b590-47d9-b21c-3e6711b2730c</Id> <ProjectId>7</ProjectId> <RoleId>6</RoleId> <SessionId>18332fb1-1f16-4e92-9af8-167abf8cce1d</SessionId> <UserName>sample string 4</UserName> </InnotasEventApiViewModel> </ArrayOfInnotasEventApiViewModel>