PUT api/vendor/UpdateVendor/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

VendorModels
NameDescriptionTypeAdditional information
VE_Id

integer

None.

VE_Code

string

None.

VE_Name

string

None.

VE_ContactNo

integer

None.

VE_MobileNo

integer

None.

VE_alterNo

integer

None.

VE_Address

string

None.

VE_ST_Id_FK

integer

None.

ST_StateName

string

None.

VE_DI_Id_FK

integer

None.

DI_District

string

None.

VE_Village

string

None.

VE_PostalCode

integer

None.

VE_Email

string

None.

VE_UserId_FK

integer

None.

VE_INSTS

date

None.

Request Formats

application/json, text/json

Sample:
{
  "VE_Id": 1,
  "VE_Code": "sample string 2",
  "VE_Name": "sample string 3",
  "VE_ContactNo": 4,
  "VE_MobileNo": 5,
  "VE_alterNo": 6,
  "VE_Address": "sample string 7",
  "VE_ST_Id_FK": 8,
  "ST_StateName": "sample string 9",
  "VE_DI_Id_FK": 10,
  "DI_District": "sample string 11",
  "VE_Village": "sample string 12",
  "VE_PostalCode": 13,
  "VE_Email": "sample string 14",
  "VE_UserId_FK": 15,
  "VE_INSTS": "2026-01-11T21:06:18.0043912+05:30"
}

application/xml, text/xml

Sample:
<VendorModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models">
  <DI_District>sample string 11</DI_District>
  <ST_StateName>sample string 9</ST_StateName>
  <VE_Address>sample string 7</VE_Address>
  <VE_Code>sample string 2</VE_Code>
  <VE_ContactNo>4</VE_ContactNo>
  <VE_DI_Id_FK>10</VE_DI_Id_FK>
  <VE_Email>sample string 14</VE_Email>
  <VE_INSTS>2026-01-11T21:06:18.0043912+05:30</VE_INSTS>
  <VE_Id>1</VE_Id>
  <VE_MobileNo>5</VE_MobileNo>
  <VE_Name>sample string 3</VE_Name>
  <VE_PostalCode>13</VE_PostalCode>
  <VE_ST_Id_FK>8</VE_ST_Id_FK>
  <VE_UserId_FK>15</VE_UserId_FK>
  <VE_Village>sample string 12</VE_Village>
  <VE_alterNo>6</VE_alterNo>
</VendorModels>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VendorModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.