POST api/HR/SaveVoting
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
entity | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "SurveyId": 1, "Isanonymous": true, "Voting": [ { "EmpId": 1, "SurveyId": 1, "ItemId": 1, "VoteId": 1, "Notes": "sample string 2", "Date": "2025-03-14T08:22:06.4795854+02:00", "Survey": "sample string 3", "Item": "sample string 4", "Vote": "sample string 5", "EmployeeName": "sample string 6", "StartDate": "2025-03-14T08:22:06.4795854+02:00", "EndDate": "2025-03-14T08:22:06.4795854+02:00", "VoterNumber": 1.0, "EmployeeCode": "sample string 7", "DepartmentName": "sample string 8", "UnitName": "sample string 9", "JobName": "sample string 10", "Id": 11 }, { "EmpId": 1, "SurveyId": 1, "ItemId": 1, "VoteId": 1, "Notes": "sample string 2", "Date": "2025-03-14T08:22:06.4795854+02:00", "Survey": "sample string 3", "Item": "sample string 4", "Vote": "sample string 5", "EmployeeName": "sample string 6", "StartDate": "2025-03-14T08:22:06.4795854+02:00", "EndDate": "2025-03-14T08:22:06.4795854+02:00", "VoterNumber": 1.0, "EmployeeCode": "sample string 7", "DepartmentName": "sample string 8", "UnitName": "sample string 9", "JobName": "sample string 10", "Id": 11 }, { "EmpId": 1, "SurveyId": 1, "ItemId": 1, "VoteId": 1, "Notes": "sample string 2", "Date": "2025-03-14T08:22:06.4795854+02:00", "Survey": "sample string 3", "Item": "sample string 4", "Vote": "sample string 5", "EmployeeName": "sample string 6", "StartDate": "2025-03-14T08:22:06.4795854+02:00", "EndDate": "2025-03-14T08:22:06.4795854+02:00", "VoterNumber": 1.0, "EmployeeCode": "sample string 7", "DepartmentName": "sample string 8", "UnitName": "sample string 9", "JobName": "sample string 10", "Id": 11 } ], "EmpId": 3, "InCT": "sample string 4" }
application/xml, text/xml
Sample:
<VM_SurveyVoting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel"> <EmpId>3</EmpId> <InCT>sample string 4</InCT> <Isanonymous>true</Isanonymous> <SurveyId>1</SurveyId> <Voting xmlns:d2p1="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel.Model"> <d2p1:HR_SurveyVoting> <d2p1:Id>11</d2p1:Id> <d2p1:Date>2025-03-14T08:22:06.4795854+02:00</d2p1:Date> <d2p1:DepartmentName>sample string 8</d2p1:DepartmentName> <d2p1:EmpId>1</d2p1:EmpId> <d2p1:EmployeeCode>sample string 7</d2p1:EmployeeCode> <d2p1:EmployeeName>sample string 6</d2p1:EmployeeName> <d2p1:EndDate>2025-03-14T08:22:06.4795854+02:00</d2p1:EndDate> <d2p1:Item>sample string 4</d2p1:Item> <d2p1:ItemId>1</d2p1:ItemId> <d2p1:JobName>sample string 10</d2p1:JobName> <d2p1:Notes>sample string 2</d2p1:Notes> <d2p1:StartDate>2025-03-14T08:22:06.4795854+02:00</d2p1:StartDate> <d2p1:Survey>sample string 3</d2p1:Survey> <d2p1:SurveyId>1</d2p1:SurveyId> <d2p1:UnitName>sample string 9</d2p1:UnitName> <d2p1:Vote>sample string 5</d2p1:Vote> <d2p1:VoteId>1</d2p1:VoteId> <d2p1:VoterNumber>1</d2p1:VoterNumber> </d2p1:HR_SurveyVoting> <d2p1:HR_SurveyVoting> <d2p1:Id>11</d2p1:Id> <d2p1:Date>2025-03-14T08:22:06.4795854+02:00</d2p1:Date> <d2p1:DepartmentName>sample string 8</d2p1:DepartmentName> <d2p1:EmpId>1</d2p1:EmpId> <d2p1:EmployeeCode>sample string 7</d2p1:EmployeeCode> <d2p1:EmployeeName>sample string 6</d2p1:EmployeeName> <d2p1:EndDate>2025-03-14T08:22:06.4795854+02:00</d2p1:EndDate> <d2p1:Item>sample string 4</d2p1:Item> <d2p1:ItemId>1</d2p1:ItemId> <d2p1:JobName>sample string 10</d2p1:JobName> <d2p1:Notes>sample string 2</d2p1:Notes> <d2p1:StartDate>2025-03-14T08:22:06.4795854+02:00</d2p1:StartDate> <d2p1:Survey>sample string 3</d2p1:Survey> <d2p1:SurveyId>1</d2p1:SurveyId> <d2p1:UnitName>sample string 9</d2p1:UnitName> <d2p1:Vote>sample string 5</d2p1:Vote> <d2p1:VoteId>1</d2p1:VoteId> <d2p1:VoterNumber>1</d2p1:VoterNumber> </d2p1:HR_SurveyVoting> <d2p1:HR_SurveyVoting> <d2p1:Id>11</d2p1:Id> <d2p1:Date>2025-03-14T08:22:06.4795854+02:00</d2p1:Date> <d2p1:DepartmentName>sample string 8</d2p1:DepartmentName> <d2p1:EmpId>1</d2p1:EmpId> <d2p1:EmployeeCode>sample string 7</d2p1:EmployeeCode> <d2p1:EmployeeName>sample string 6</d2p1:EmployeeName> <d2p1:EndDate>2025-03-14T08:22:06.4795854+02:00</d2p1:EndDate> <d2p1:Item>sample string 4</d2p1:Item> <d2p1:ItemId>1</d2p1:ItemId> <d2p1:JobName>sample string 10</d2p1:JobName> <d2p1:Notes>sample string 2</d2p1:Notes> <d2p1:StartDate>2025-03-14T08:22:06.4795854+02:00</d2p1:StartDate> <d2p1:Survey>sample string 3</d2p1:Survey> <d2p1:SurveyId>1</d2p1:SurveyId> <d2p1:UnitName>sample string 9</d2p1:UnitName> <d2p1:Vote>sample string 5</d2p1:Vote> <d2p1:VoteId>1</d2p1:VoteId> <d2p1:VoterNumber>1</d2p1:VoterNumber> </d2p1:HR_SurveyVoting> </Voting> </VM_SurveyVoting>
application/x-www-form-urlencoded
Sample:
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "Result": true, "ErrorMessage": "sample string 2" }
application/xml, text/xml
Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus"> <ErrorMessage>sample string 2</ErrorMessage> <Result>true</Result> </GeneralErrors>