GET api/EmployeeTerritories/{id}
Returns a EmployeeTerritories record based on specified ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of EmployeeTerritories data |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
EmployeeTerritoriesDataName | Description | Type | Additional information |
---|---|---|---|
EmployeeID | integer |
None. |
|
TerritoryID | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "EmployeeID": 1, "TerritoryID": "sample string 2" }
text/xml
Sample:
<EmployeeTerritoriesData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models"> <EmployeeID>1</EmployeeID> <TerritoryID>sample string 2</TerritoryID> </EmployeeTerritoriesData>