POST api/AttendanceAndTimesheet/EntryInsertDeleteHelpdesk

Request Information

URI Parameters

None.

Body Parameters

InsertHelpdeskManagementEntity
NameDescriptionTypeAdditional information
UserID

integer

None.

Token

string

None.

FromDate

date

None.

RequestDate

date

None.

Action

integer

None.

ID

integer

None.

PriorityID

integer

None.

StatusID

integer

None.

Level3

integer

None.

Level2

integer

None.

Level1

integer

None.

Type

integer

None.

Customer

integer

None.

RequestBy

integer

None.

CreatedBy

integer

None.

Details

string

None.

Search

string

None.

FileName

string

None.

Notes

string

None.

ToDate

date

None.

Attachment

Collection of byte

None.

AttachmentArray

Collection of Object

None.

AttachmentFileNameArray

Collection of Object

None.

OrgaID

string

None.

LoginUserName

string

None.

CustomerName

string

None.

TypeName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "Token": "sample string 2",
  "FromDate": "2025-08-07T06:52:25.0796477+08:00",
  "RequestDate": "2025-08-07T06:52:25.0796477+08:00",
  "Action": 5,
  "ID": 6,
  "PriorityID": 7,
  "StatusID": 8,
  "Level3": 9,
  "Level2": 10,
  "Level1": 11,
  "Type": 12,
  "Customer": 13,
  "RequestBy": 14,
  "CreatedBy": 15,
  "Details": "sample string 16",
  "Search": "sample string 17",
  "FileName": "sample string 18",
  "Notes": "sample string 19",
  "ToDate": "2025-08-07T06:52:25.0796477+08:00",
  "Attachment": "QEA=",
  "AttachmentArray": [
    {},
    {}
  ],
  "AttachmentFileNameArray": [
    {},
    {}
  ],
  "OrgaID": "sample string 21",
  "LoginUserName": "sample string 22",
  "CustomerName": "sample string 23",
  "TypeName": "sample string 24"
}

text/html

Sample:
{"UserID":1,"Token":"sample string 2","FromDate":"2025-08-07T06:52:25.0796477+08:00","RequestDate":"2025-08-07T06:52:25.0796477+08:00","Action":5,"ID":6,"PriorityID":7,"StatusID":8,"Level3":9,"Level2":10,"Level1":11,"Type":12,"Customer":13,"RequestBy":14,"CreatedBy":15,"Details":"sample string 16","Search":"sample string 17","FileName":"sample string 18","Notes":"sample string 19","ToDate":"2025-08-07T06:52:25.0796477+08:00","Attachment":"QEA=","AttachmentArray":[{},{}],"AttachmentFileNameArray":[{},{}],"OrgaID":"sample string 21","LoginUserName":"sample string 22","CustomerName":"sample string 23","TypeName":"sample string 24"}

application/xml, text/xml

Sample:
<AttendanceAndTimesheetController.InsertHelpdeskManagementEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR2Eazy_WebApi.Controllers">
  <Action>5</Action>
  <Attachment>QEA=</Attachment>
  <AttachmentArray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </AttachmentArray>
  <AttachmentFileNameArray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:anyType />
    <d2p1:anyType />
  </AttachmentFileNameArray>
  <CreatedBy>15</CreatedBy>
  <Customer>13</Customer>
  <CustomerName>sample string 23</CustomerName>
  <Details>sample string 16</Details>
  <FileName>sample string 18</FileName>
  <FromDate>2025-08-07T06:52:25.0796477+08:00</FromDate>
  <ID>6</ID>
  <Level1>11</Level1>
  <Level2>10</Level2>
  <Level3>9</Level3>
  <LoginUserName>sample string 22</LoginUserName>
  <Notes>sample string 19</Notes>
  <OrgaID>sample string 21</OrgaID>
  <PriorityID>7</PriorityID>
  <RequestBy>14</RequestBy>
  <RequestDate>2025-08-07T06:52:25.0796477+08:00</RequestDate>
  <Search>sample string 17</Search>
  <StatusID>8</StatusID>
  <ToDate>2025-08-07T06:52:25.0796477+08:00</ToDate>
  <Token>sample string 2</Token>
  <Type>12</Type>
  <TypeName>sample string 24</TypeName>
  <UserID>1</UserID>
</AttendanceAndTimesheetController.InsertHelpdeskManagementEntity>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InsertHelpdeskManagementEntity'.

Response Information

Resource Description

Dictionary of Object [key] and Object [value]

Response Formats

application/json, text/json, text/html

Sample:
{"System.Object":{},"System.Object":{}}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfanyTypeanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
  <KeyValueOfanyTypeanyType>
    <Key />
    <Value />
  </KeyValueOfanyTypeanyType>
</ArrayOfKeyValueOfanyTypeanyType>