GET api/VendorsAPI/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Vendor
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Phone

string

None.

Address

string

None.

Note

string

None.

Debit

decimal number

None.

Credit

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Phone": "sample string 3",
  "Address": "sample string 4",
  "Note": "sample string 5",
  "Debit": 6.1,
  "Credit": 7.1
}

application/xml, text/xml

Sample:
<Vendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ODOAPI.Models">
  <Address>sample string 4</Address>
  <Credit>7.1</Credit>
  <Debit>6.1</Debit>
  <Id>1</Id>
  <Name>sample string 2</Name>
  <Note>sample string 5</Note>
  <Phone>sample string 3</Phone>
</Vendor>