GET api/vendortypes
GET: api/vendortypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
List of VendorTypeViewModel
Collection of VendorTypeViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VendorTypeId |
VendorTypeId |
integer |
None. |
| VendorTypeName |
VendorTypeName |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"vendorTypeId": 1,
"vendorTypeName": "sample string 2"
},
{
"vendorTypeId": 1,
"vendorTypeName": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfVendorTypeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
<VendorTypeViewModel>
<VendorTypeId>1</VendorTypeId>
<VendorTypeName>sample string 2</VendorTypeName>
</VendorTypeViewModel>
<VendorTypeViewModel>
<VendorTypeId>1</VendorTypeId>
<VendorTypeName>sample string 2</VendorTypeName>
</VendorTypeViewModel>
</ArrayOfVendorTypeViewModel>