GET api/Vendor
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of VendorName | Description | Type | Additional information |
---|---|---|---|
name | string |
Required |
|
id | integer |
Required |
Response Formats
application/json, text/json
Sample:
[ { "name": "sample string 1", "id": 2 }, { "name": "sample string 1", "id": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Trias.PlanDataRepo.Models"> <Vendor> <id>2</id> <name>sample string 1</name> </Vendor> <Vendor> <id>2</id> <name>sample string 1</name> </Vendor> </ArrayOfVendor>