POST api/Admin/AddEditVendor

Request Information

URI Parameters

None.

Body Parameters

LupVendor
NameDescriptionTypeAdditional information
VendorID

integer

None.

VendorName

string

None.

VendorCode

string

None.

DisplayOrder

integer

None.

MainPhoneNumber

string

None.

AlternatePhoneNumber

string

None.

FaxNumber

string

None.

GeneralEmail

string

None.

DateEntered

date

None.

EnteredByID

integer

None.

DateUpdated

date

None.

UpdatedByID

integer

None.

IsActive

boolean

None.

IsSActive

boolean

None.

AddressID

integer

None.

AddressTypeID

integer

None.

EntityTypeID

integer

None.

EntityID

integer

None.

Address1

string

None.

Address2

string

None.

City

string

None.

StateProvince

string

None.

Zip

string

None.

CountryID

integer

None.

Country

string

None.

VendorAddress

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorID": 1,
  "VendorName": "sample string 1",
  "VendorCode": "sample string 2",
  "DisplayOrder": 1,
  "MainPhoneNumber": "sample string 3",
  "AlternatePhoneNumber": "sample string 4",
  "FaxNumber": "sample string 5",
  "GeneralEmail": "sample string 6",
  "DateEntered": "2025-10-25T14:23:59.6060589-07:00",
  "EnteredByID": 1,
  "DateUpdated": "2025-10-25T14:23:59.6070539-07:00",
  "UpdatedByID": 1,
  "IsActive": true,
  "IsSActive": true,
  "AddressID": 1,
  "AddressTypeID": 1,
  "EntityTypeID": 1,
  "EntityID": 1,
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "City": "sample string 10",
  "StateProvince": "sample string 11",
  "Zip": "sample string 12",
  "CountryID": 1,
  "Country": "sample string 13",
  "VendorAddress": "sample string 14"
}

application/xml, text/xml

Sample:
<LupVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BKS.CTMS.MODEL">
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <AddressID>1</AddressID>
  <AddressTypeID>1</AddressTypeID>
  <AlternatePhoneNumber>sample string 4</AlternatePhoneNumber>
  <City>sample string 10</City>
  <Country>sample string 13</Country>
  <CountryID>1</CountryID>
  <DateEntered>2025-10-25T14:23:59.6060589-07:00</DateEntered>
  <DateUpdated>2025-10-25T14:23:59.6070539-07:00</DateUpdated>
  <DisplayOrder>1</DisplayOrder>
  <EnteredByID>1</EnteredByID>
  <EntityID>1</EntityID>
  <EntityTypeID>1</EntityTypeID>
  <FaxNumber>sample string 5</FaxNumber>
  <GeneralEmail>sample string 6</GeneralEmail>
  <IsActive>true</IsActive>
  <IsSActive>true</IsSActive>
  <MainPhoneNumber>sample string 3</MainPhoneNumber>
  <StateProvince>sample string 11</StateProvince>
  <UpdatedByID>1</UpdatedByID>
  <VendorAddress>sample string 14</VendorAddress>
  <VendorCode>sample string 2</VendorCode>
  <VendorID>1</VendorID>
  <VendorName>sample string 1</VendorName>
  <Zip>sample string 12</Zip>
</LupVendor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>