POST api/v1/VendorSave

Request Information

URI Parameters

None.

Body Parameters

VendorSaveInput
NameDescriptionTypeAdditional information
Mode

string

None.

ID

integer

None.

VendorName

string

None.

VendorAddress1

string

None.

VendorAddress2

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.

StateName

string

None.

RegUnreg

string

None.

BankName

string

None.

BankAcNo

string

None.

BankIFSC

string

None.

AltMobile

string

None.

KYCID

integer

None.

IDNo

string

None.

AddInfReq

string

None.

KYCimagePath

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Mode": "sample string 1",
  "ID": 2,
  "VendorName": "sample string 3",
  "VendorAddress1": "sample string 4",
  "VendorAddress2": "sample string 5",
  "VendorPIN": "sample string 6",
  "LandPhone": "sample string 7",
  "ContactPerson": "sample string 8",
  "ContactMob": "sample string 9",
  "ContactEmail": "sample string 10",
  "UserID": 11,
  "GSTNo": "sample string 12",
  "PANNo": "sample string 13",
  "StateID": 14,
  "StateName": "sample string 15",
  "RegUnreg": "sample string 16",
  "BankName": "sample string 17",
  "BankAcNo": "sample string 18",
  "BankIFSC": "sample string 19",
  "AltMobile": "sample string 20",
  "KYCID": 21,
  "IDNo": "sample string 22",
  "AddInfReq": "sample string 23",
  "KYCimagePath": "sample string 24"
}

application/xml, text/xml

Sample:
<VendorSaveInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <AddInfReq>sample string 23</AddInfReq>
  <AltMobile>sample string 20</AltMobile>
  <BankAcNo>sample string 18</BankAcNo>
  <BankIFSC>sample string 19</BankIFSC>
  <BankName>sample string 17</BankName>
  <ContactEmail>sample string 10</ContactEmail>
  <ContactMob>sample string 9</ContactMob>
  <ContactPerson>sample string 8</ContactPerson>
  <GSTNo>sample string 12</GSTNo>
  <ID>2</ID>
  <IDNo>sample string 22</IDNo>
  <KYCID>21</KYCID>
  <KYCimagePath>sample string 24</KYCimagePath>
  <LandPhone>sample string 7</LandPhone>
  <Mode>sample string 1</Mode>
  <PANNo>sample string 13</PANNo>
  <RegUnreg>sample string 16</RegUnreg>
  <StateID>14</StateID>
  <StateName>sample string 15</StateName>
  <UserID>11</UserID>
  <VendorAddress1>sample string 4</VendorAddress1>
  <VendorAddress2>sample string 5</VendorAddress2>
  <VendorName>sample string 3</VendorName>
  <VendorPIN>sample string 6</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.