GET api/EmployeeProject/{id}?DataType={DataType}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

DataType

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of EmployeeProjectViewModel
NameDescriptionTypeAdditional information
EmployeeProjectId

integer

None.

EmployeeId

integer

None.

ProjectId

integer

None.

EmployeeCode

string

None.

EmployeeName

string

None.

ProjectCode

string

None.

ProjectName

string

None.

AddressId

integer

None.

Address

Address

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "EmployeeProjectId": 1,
    "EmployeeId": 2,
    "ProjectId": 3,
    "EmployeeCode": "sample string 4",
    "EmployeeName": "sample string 5",
    "ProjectCode": "sample string 6",
    "ProjectName": "sample string 7",
    "AddressId": 8,
    "Address": {
      "AddressId": 1,
      "StreetAddress": "sample string 2",
      "AreaName": "sample string 3",
      "City": "sample string 4",
      "State": "sample string 5",
      "PinCode": "sample string 6",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "Radius": 7,
      "CreatedDate": "2026-01-27T19:12:46.7511047+05:30",
      "CreatedBy": "sample string 9",
      "CreatedByUserId": 10
    }
  },
  {
    "EmployeeProjectId": 1,
    "EmployeeId": 2,
    "ProjectId": 3,
    "EmployeeCode": "sample string 4",
    "EmployeeName": "sample string 5",
    "ProjectCode": "sample string 6",
    "ProjectName": "sample string 7",
    "AddressId": 8,
    "Address": {
      "AddressId": 1,
      "StreetAddress": "sample string 2",
      "AreaName": "sample string 3",
      "City": "sample string 4",
      "State": "sample string 5",
      "PinCode": "sample string 6",
      "Latitude": 1.1,
      "Longitude": 1.1,
      "Radius": 7,
      "CreatedDate": "2026-01-27T19:12:46.7511047+05:30",
      "CreatedBy": "sample string 9",
      "CreatedByUserId": 10
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfEmployeeProjectViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Netsoft.Web.Api.ViewModel">
  <EmployeeProjectViewModel>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
      <d3p1:CreatedBy>sample string 9</d3p1:CreatedBy>
      <d3p1:CreatedByUserId>10</d3p1:CreatedByUserId>
      <d3p1:CreatedDate>2026-01-27T19:12:46.7511047+05:30</d3p1:CreatedDate>
      <d3p1:AddressId>1</d3p1:AddressId>
      <d3p1:AreaName>sample string 3</d3p1:AreaName>
      <d3p1:City>sample string 4</d3p1:City>
      <d3p1:Latitude>1.1</d3p1:Latitude>
      <d3p1:Longitude>1.1</d3p1:Longitude>
      <d3p1:PinCode>sample string 6</d3p1:PinCode>
      <d3p1:Radius>7</d3p1:Radius>
      <d3p1:State>sample string 5</d3p1:State>
      <d3p1:StreetAddress>sample string 2</d3p1:StreetAddress>
    </Address>
    <AddressId>8</AddressId>
    <EmployeeCode>sample string 4</EmployeeCode>
    <EmployeeId>2</EmployeeId>
    <EmployeeName>sample string 5</EmployeeName>
    <EmployeeProjectId>1</EmployeeProjectId>
    <ProjectCode>sample string 6</ProjectCode>
    <ProjectId>3</ProjectId>
    <ProjectName>sample string 7</ProjectName>
  </EmployeeProjectViewModel>
  <EmployeeProjectViewModel>
    <Address xmlns:d3p1="http://schemas.datacontract.org/2004/07/Netsoft.Domain.Entities">
      <d3p1:CreatedBy>sample string 9</d3p1:CreatedBy>
      <d3p1:CreatedByUserId>10</d3p1:CreatedByUserId>
      <d3p1:CreatedDate>2026-01-27T19:12:46.7511047+05:30</d3p1:CreatedDate>
      <d3p1:AddressId>1</d3p1:AddressId>
      <d3p1:AreaName>sample string 3</d3p1:AreaName>
      <d3p1:City>sample string 4</d3p1:City>
      <d3p1:Latitude>1.1</d3p1:Latitude>
      <d3p1:Longitude>1.1</d3p1:Longitude>
      <d3p1:PinCode>sample string 6</d3p1:PinCode>
      <d3p1:Radius>7</d3p1:Radius>
      <d3p1:State>sample string 5</d3p1:State>
      <d3p1:StreetAddress>sample string 2</d3p1:StreetAddress>
    </Address>
    <AddressId>8</AddressId>
    <EmployeeCode>sample string 4</EmployeeCode>
    <EmployeeId>2</EmployeeId>
    <EmployeeName>sample string 5</EmployeeName>
    <EmployeeProjectId>1</EmployeeProjectId>
    <ProjectCode>sample string 6</ProjectCode>
    <ProjectId>3</ProjectId>
    <ProjectName>sample string 7</ProjectName>
  </EmployeeProjectViewModel>
</ArrayOfEmployeeProjectViewModel>