POST api/VendorInfo/UpdateVendorInfo

Request Information

URI Parameters

None.

Body Parameters

VendorInfo
NameDescriptionTypeAdditional information
VendorTypeId

integer

None.

VendorName

string

None.

FirstName

string

None.

LastName

string

None.

Email

string

None.

Mobile

string

None.

Address1

string

None.

Address2

string

None.

CountryId

integer

None.

StateId

integer

None.

CityId

integer

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorTypeId": 1,
  "VendorName": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "Mobile": "sample string 6",
  "Address1": "sample string 7",
  "Address2": "sample string 8",
  "CountryId": 9,
  "StateId": 10,
  "CityId": 11,
  "CreatedBy": "sample string 12",
  "CreatedDate": "2024-12-01T09:15:26.4832395+05:30",
  "UpdatedBy": "sample string 14",
  "UpdatedDate": "2024-12-01T09:15:26.4832395+05:30"
}

application/octet-stream

Sample:
{"$id":"1","VendorTypeId":1,"VendorName":"sample string 2","FirstName":"sample string 3","LastName":"sample string 4","Email":"sample string 5","Mobile":"sample string 6","Address1":"sample string 7","Address2":"sample string 8","CountryId":9,"StateId":10,"CityId":11,"CreatedBy":"sample string 12","CreatedDate":"2024-12-01T09:15:26.4832395+05:30","UpdatedBy":"sample string 14","UpdatedDate":"2024-12-01T09:15:26.4832395+05:30"}

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 'VendorInfo'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.