GET api/Vendors/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
VendorName | Description | Type | Additional 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": "2024-04-04T08:32:57.2530305+00:00", "DateUpdated": "2024-04-04T08:32:57.2530305+00:00", "CreatedBy": 7, "UpdatedBy": 8 }
application/xml, text/xml
Sample:
<Vendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/APL.Models"> <CreatedBy>7</CreatedBy> <DateCreated>2024-04-04T08:32:57.2530305+00:00</DateCreated> <DateUpdated>2024-04-04T08:32:57.2530305+00:00</DateUpdated> <UpdatedBy>8</UpdatedBy> <UtilityId>2</UtilityId> <VendorId>1</VendorId> <VendorName>sample string 4</VendorName> <VendorNum>sample string 3</VendorNum> </Vendor>