POST api/AdminUser/SearchadminEmployee

Request Information

URI Parameters

None.

Body Parameters

OnDutyMasterVO
NameDescriptionTypeAdditional information
On_duty_master_ID

integer

None.

User_ID

integer

None.

Emp_ID

integer

None.

Emp_Device_ID

string

None.

On_Start_Time

date

None.

On_Start_Location_Name

string

None.

On_Start_Location_Lat

string

None.

On_Start_Location_Long

string

None.

On_Start_Location_Address

string

None.

OD_End_Time

date

None.

OD_End_Location_Name

string

None.

OD_End_Location_Lat

string

None.

OD_End_Location_Long

string

None.

OD_End_Location_Address

string

None.

OnDuty_Duration

integer

None.

Active

integer

None.

Created_By

integer

None.

Created_Date

date

None.

Modified_by

integer

None.

Modified_Date

date

None.

Type

string

None.

Department

string

None.

Location

string

None.

FromDate

date

None.

ToDate

date

None.

Name

string

None.

ODNextRun

date

None.

Request Formats

application/json, text/json

Sample:
{
  "On_duty_master_ID": 1,
  "User_ID": 2,
  "Emp_ID": 3,
  "Emp_Device_ID": "sample string 4",
  "On_Start_Time": "2024-11-28T14:02:09.9518335+05:30",
  "On_Start_Location_Name": "sample string 6",
  "On_Start_Location_Lat": "sample string 7",
  "On_Start_Location_Long": "sample string 8",
  "On_Start_Location_Address": "sample string 9",
  "OD_End_Time": "2024-11-28T14:02:09.9518335+05:30",
  "OD_End_Location_Name": "sample string 11",
  "OD_End_Location_Lat": "sample string 12",
  "OD_End_Location_Long": "sample string 13",
  "OD_End_Location_Address": "sample string 14",
  "OnDuty_Duration": 15,
  "Active": 16,
  "Created_By": 17,
  "Created_Date": "2024-11-28T14:02:09.9518335+05:30",
  "Modified_by": 19,
  "Modified_Date": "2024-11-28T14:02:09.9518335+05:30",
  "Type": "sample string 21",
  "Department": "sample string 22",
  "Location": "sample string 23",
  "FromDate": "2024-11-28T14:02:09.9518335+05:30",
  "ToDate": "2024-11-28T14:02:09.9518335+05:30",
  "Name": "sample string 26",
  "ODNextRun": "2024-11-28T14:02:09.9518335+05:30"
}

application/xml, text/xml

Sample:
<OnDutyMasterVO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer">
  <Active>16</Active>
  <Created_By>17</Created_By>
  <Created_Date>2024-11-28T14:02:09.9518335+05:30</Created_Date>
  <Department>sample string 22</Department>
  <Emp_Device_ID>sample string 4</Emp_Device_ID>
  <Emp_ID>3</Emp_ID>
  <FromDate>2024-11-28T14:02:09.9518335+05:30</FromDate>
  <Location>sample string 23</Location>
  <Modified_Date>2024-11-28T14:02:09.9518335+05:30</Modified_Date>
  <Modified_by>19</Modified_by>
  <Name>sample string 26</Name>
  <ODNextRun>2024-11-28T14:02:09.9518335+05:30</ODNextRun>
  <OD_End_Location_Address>sample string 14</OD_End_Location_Address>
  <OD_End_Location_Lat>sample string 12</OD_End_Location_Lat>
  <OD_End_Location_Long>sample string 13</OD_End_Location_Long>
  <OD_End_Location_Name>sample string 11</OD_End_Location_Name>
  <OD_End_Time>2024-11-28T14:02:09.9518335+05:30</OD_End_Time>
  <OnDuty_Duration>15</OnDuty_Duration>
  <On_Start_Location_Address>sample string 9</On_Start_Location_Address>
  <On_Start_Location_Lat>sample string 7</On_Start_Location_Lat>
  <On_Start_Location_Long>sample string 8</On_Start_Location_Long>
  <On_Start_Location_Name>sample string 6</On_Start_Location_Name>
  <On_Start_Time>2024-11-28T14:02:09.9518335+05:30</On_Start_Time>
  <On_duty_master_ID>1</On_duty_master_ID>
  <ToDate>2024-11-28T14:02:09.9518335+05:30</ToDate>
  <Type>sample string 21</Type>
  <User_ID>2</User_ID>
</OnDutyMasterVO>

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 'OnDutyMasterVO'.

Response Information

Resource Description

ResponseModel
NameDescriptionTypeAdditional information
Success

boolean

None.

Data

Object

None.

Message

string

None.

ErrorCode

integer

None.

Data1

Object

None.

Emp_ID

string

None.

On_duty_master_ID

integer

None.

ODStatus

Object

None.

ODDetails

Object

None.

UserDetails

Object

None.

ON_DUTY_PROGRAM_ID

integer

None.

settings

Object

None.

IsProgramStatus

boolean

None.

ODStartTime

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Data": {},
  "Message": "sample string 3",
  "ErrorCode": 4,
  "Data1": {},
  "Emp_ID": "sample string 6",
  "On_duty_master_ID": 7,
  "ODStatus": {},
  "ODDetails": {},
  "UserDetails": {},
  "ON_DUTY_PROGRAM_ID": 11,
  "settings": {},
  "IsProgramStatus": true,
  "ODStartTime": "sample string 14"
}

application/xml, text/xml

Sample:
<ResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ModelLayer">
  <Data />
  <Data1 />
  <Emp_ID>sample string 6</Emp_ID>
  <ErrorCode>4</ErrorCode>
  <IsProgramStatus>true</IsProgramStatus>
  <Message>sample string 3</Message>
  <ODDetails />
  <ODStartTime>sample string 14</ODStartTime>
  <ODStatus />
  <ON_DUTY_PROGRAM_ID>11</ON_DUTY_PROGRAM_ID>
  <On_duty_master_ID>7</On_duty_master_ID>
  <Success>true</Success>
  <UserDetails />
  <settings />
</ResponseModel>