POST api/admin/VendorApi/AddVendor

Request Information

URI Parameters

None.

Body Parameters

Vendor
NameDescriptionTypeAdditional information
VendorID

integer

None.

VendorCode

string

Required

VendorName

string

Required

Details

string

None.

IsDefault

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorID": 1,
  "VendorCode": "sample string 2",
  "VendorName": "sample string 3",
  "Details": "sample string 4",
  "IsDefault": true
}

application/xml, text/xml

Sample:
<Vendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAWModels">
  <Details>sample string 4</Details>
  <IsDefault>true</IsDefault>
  <VendorCode>sample string 2</VendorCode>
  <VendorID>1</VendorID>
  <VendorName>sample string 3</VendorName>
</Vendor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.