GET Api/Employee/AllEmployeeDetailsTest2?url={url}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
url

string

Required

Body Parameters

Collection of occasionDetail
NameDescriptionTypeAdditional information
occasionName

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "occasionName": "sample string 1"
  },
  {
    "occasionName": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfoccasionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRUDAPI.Models">
  <occasionDetail>
    <occasionName>sample string 1</occasionName>
  </occasionDetail>
  <occasionDetail>
    <occasionName>sample string 1</occasionName>
  </occasionDetail>
</ArrayOfoccasionDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of EmployeeDetail
NameDescriptionTypeAdditional information
EmpId

integer

None.

EmpName

string

None.

DateOfBirth

date

None.

EmailId

string

None.

Gender

string

None.

Address

string

None.

PinCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmpId": 1,
    "EmpName": "sample string 2",
    "DateOfBirth": "2025-04-04T12:04:19.4737408-05:00",
    "EmailId": "sample string 3",
    "Gender": "sample string 4",
    "Address": "sample string 5",
    "PinCode": "sample string 6"
  },
  {
    "EmpId": 1,
    "EmpName": "sample string 2",
    "DateOfBirth": "2025-04-04T12:04:19.4737408-05:00",
    "EmailId": "sample string 3",
    "Gender": "sample string 4",
    "Address": "sample string 5",
    "PinCode": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CRUDAPI.Models">
  <EmployeeDetail>
    <Address>sample string 5</Address>
    <DateOfBirth>2025-04-04T12:04:19.4737408-05:00</DateOfBirth>
    <EmailId>sample string 3</EmailId>
    <EmpId>1</EmpId>
    <EmpName>sample string 2</EmpName>
    <Gender>sample string 4</Gender>
    <PinCode>sample string 6</PinCode>
  </EmployeeDetail>
  <EmployeeDetail>
    <Address>sample string 5</Address>
    <DateOfBirth>2025-04-04T12:04:19.4737408-05:00</DateOfBirth>
    <EmailId>sample string 3</EmailId>
    <EmpId>1</EmpId>
    <EmpName>sample string 2</EmpName>
    <Gender>sample string 4</Gender>
    <PinCode>sample string 6</PinCode>
  </EmployeeDetail>
</ArrayOfEmployeeDetail>