GET api/Shippers/{id}

Returns a Shippers record based on specified ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The ID of Shippers data

integer

Required

Body Parameters

None.

Response Information

Resource Description

ShippersData
NameDescriptionTypeAdditional information
ShipperID

integer

None.

CompanyName

string

None.

Phone

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ShipperID": 1,
  "CompanyName": "sample string 2",
  "Phone": "sample string 3"
}

text/xml

Sample:
<ShippersData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NorthwindAPI.Models">
  <CompanyName>sample string 2</CompanyName>
  <Phone>sample string 3</Phone>
  <ShipperID>1</ShipperID>
</ShippersData>