GET api/Values/EmployeeMasterGetByCompanyIdforDashboard?strCompanyId={strCompanyId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
strCompanyId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
returndbmlEmployeeMasterLookupName | Description | Type | Additional information |
---|---|---|---|
objdbmlEmployeeMasterList | Collection of dbmlEmployeeMasterLookup |
None. |
|
objdbmlStatus | dbmlStatus |
None. |
Response Formats
application/json, text/json
Sample:
{ "objdbmlEmployeeMasterList": [ { "EmployeeKey": 1, "EmpCode": "sample string 2", "EmpName": "sample string 3" }, { "EmployeeKey": 1, "EmpCode": "sample string 2", "EmpName": "sample string 3" } ], "objdbmlStatus": { "StatusId": 1, "Status": "sample string 2", "PKId": 3, "Remark": "sample string 4" } }
text/html
Sample:
{"objdbmlEmployeeMasterList":[{"EmployeeKey":1,"EmpCode":"sample string 2","EmpName":"sample string 3"},{"EmployeeKey":1,"EmpCode":"sample string 2","EmpName":"sample string 3"}],"objdbmlStatus":{"StatusId":1,"Status":"sample string 2","PKId":3,"Remark":"sample string 4"}}
application/xml, text/xml
Sample:
<returndbmlEmployeeMasterLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TimkenOrderService.Models"> <objdbmlEmployeeMasterList xmlns:d2p1="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema"> <d2p1:dbmlEmployeeMasterLookup> <d2p1:EmpCode>sample string 2</d2p1:EmpCode> <d2p1:EmpName>sample string 3</d2p1:EmpName> <d2p1:EmployeeKey>1</d2p1:EmployeeKey> </d2p1:dbmlEmployeeMasterLookup> <d2p1:dbmlEmployeeMasterLookup> <d2p1:EmpCode>sample string 2</d2p1:EmpCode> <d2p1:EmpName>sample string 3</d2p1:EmpName> <d2p1:EmployeeKey>1</d2p1:EmployeeKey> </d2p1:dbmlEmployeeMasterLookup> </objdbmlEmployeeMasterList> <objdbmlStatus xmlns:d2p1="http://schemas.datacontract.org/2004/07/TimkenOrderService.TimkenSchema"> <d2p1:PKId>3</d2p1:PKId> <d2p1:Remark>sample string 4</d2p1:Remark> <d2p1:Status>sample string 2</d2p1:Status> <d2p1:StatusId>1</d2p1:StatusId> </objdbmlStatus> </returndbmlEmployeeMasterLookup>