GET api/Vendors

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Vendor
NameDescriptionTypeAdditional information
VendorId

integer

None.

UtilityId

integer

None.

VendorNum

string

Max length: 50

VendorName

string

Max length: 100

DateCreated

date

None.

DateUpdated

date

None.

CreatedBy

integer

None.

UpdatedBy

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VendorId": 1,
    "UtilityId": 2,
    "VendorNum": "sample string 3",
    "VendorName": "sample string 4",
    "DateCreated": "2020-02-15T02:24:00.2326472+00:00",
    "DateUpdated": "2020-02-15T02:24:00.2326472+00:00",
    "CreatedBy": 7,
    "UpdatedBy": 8
  },
  {
    "VendorId": 1,
    "UtilityId": 2,
    "VendorNum": "sample string 3",
    "VendorName": "sample string 4",
    "DateCreated": "2020-02-15T02:24:00.2326472+00:00",
    "DateUpdated": "2020-02-15T02:24:00.2326472+00:00",
    "CreatedBy": 7,
    "UpdatedBy": 8
  }
]

application/xml, text/xml

Sample:
<ArrayOfVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models">
  <Vendor>
    <CreatedBy>7</CreatedBy>
    <DateCreated>2020-02-15T02:24:00.2326472+00:00</DateCreated>
    <DateUpdated>2020-02-15T02:24:00.2326472+00:00</DateUpdated>
    <UpdatedBy>8</UpdatedBy>
    <UtilityId>2</UtilityId>
    <VendorId>1</VendorId>
    <VendorName>sample string 4</VendorName>
    <VendorNum>sample string 3</VendorNum>
  </Vendor>
  <Vendor>
    <CreatedBy>7</CreatedBy>
    <DateCreated>2020-02-15T02:24:00.2326472+00:00</DateCreated>
    <DateUpdated>2020-02-15T02:24:00.2326472+00:00</DateUpdated>
    <UpdatedBy>8</UpdatedBy>
    <UtilityId>2</UtilityId>
    <VendorId>1</VendorId>
    <VendorName>sample string 4</VendorName>
    <VendorNum>sample string 3</VendorNum>
  </Vendor>
</ArrayOfVendor>