POST api/v1/VendorAddEditDelete

Request Information

URI Parameters

None.

Body Parameters

VendorSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

ID

integer

None.

VendorName

string

None.

VendorAddress

string

None.

VendorPIN

string

None.

LandPhone

string

None.

ContactPerson

string

None.

ContactMob

string

None.

ContactEmail

string

None.

UserID

integer

None.

GSTNo

string

None.

PANNo

string

None.

StateID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ID": 2,
  "VendorName": "sample string 3",
  "VendorAddress": "sample string 4",
  "VendorPIN": "sample string 5",
  "LandPhone": "sample string 6",
  "ContactPerson": "sample string 7",
  "ContactMob": "sample string 8",
  "ContactEmail": "sample string 9",
  "UserID": 10,
  "GSTNo": "sample string 11",
  "PANNo": "sample string 12",
  "StateID": 13
}

application/xml, text/xml

Sample:
<VendorSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ContactEmail>sample string 9</ContactEmail>
  <ContactMob>sample string 8</ContactMob>
  <ContactPerson>sample string 7</ContactPerson>
  <GSTNo>sample string 11</GSTNo>
  <ID>2</ID>
  <LandPhone>sample string 6</LandPhone>
  <Mode>sample string 1</Mode>
  <PANNo>sample string 12</PANNo>
  <StateID>13</StateID>
  <UserID>10</UserID>
  <VendorAddress>sample string 4</VendorAddress>
  <VendorName>sample string 3</VendorName>
  <VendorPIN>sample string 5</VendorPIN>
</VendorSaveInput>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.