POST api/Vendor/DeleteVendor

Request Information

URI Parameters

None.

Body Parameters

Vendor
NameDescriptionTypeAdditional information
VendorCode

integer

None.

VendorName

string

String length: inclusive between 0 and 100

Address

string

String length: inclusive between 0 and 1500

Email

string

String length: inclusive between 0 and 200

Phone

string

String length: inclusive between 0 and 15

MobileNumber

string

String length: inclusive between 0 and 15

FaxNumber

string

String length: inclusive between 0 and 15

Status

string

String length: inclusive between 0 and 50

VATNo

string

String length: inclusive between 0 and 100

VendorNameInArabic

string

String length: inclusive between 0 and 500

AddressInArabic

string

String length: inclusive between 0 and 1500

BuildingNumber

string

String length: inclusive between 0 and 100

Street

string

String length: inclusive between 0 and 100

Country

Country

None.

CountryCode

integer

None.

PostalCode

integer

None.

AdditionalNumber

string

String length: inclusive between 0 and 100

CurrentBalance

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorCode": 1,
  "VendorName": "sample string 2",
  "Address": "sample string 3",
  "Email": "sample string 4",
  "Phone": "sample string 5",
  "MobileNumber": "sample string 6",
  "FaxNumber": "sample string 7",
  "Status": "sample string 8",
  "VATNo": "sample string 9",
  "VendorNameInArabic": "sample string 10",
  "AddressInArabic": "sample string 11",
  "BuildingNumber": "sample string 12",
  "Street": "sample string 13",
  "Country": {
    "CountryCode": 1,
    "CountryName": "sample string 2"
  },
  "CountryCode": 14,
  "PostalCode": 15,
  "AdditionalNumber": "sample string 16",
  "CurrentBalance": 17.0
}

application/xml, text/xml

Sample:
<Vendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPAPIV1.Models">
  <AdditionalNumber>sample string 16</AdditionalNumber>
  <Address>sample string 3</Address>
  <AddressInArabic>sample string 11</AddressInArabic>
  <BuildingNumber>sample string 12</BuildingNumber>
  <Country>
    <CountryCode>1</CountryCode>
    <CountryName>sample string 2</CountryName>
  </Country>
  <CountryCode>14</CountryCode>
  <CurrentBalance>17</CurrentBalance>
  <Email>sample string 4</Email>
  <FaxNumber>sample string 7</FaxNumber>
  <MobileNumber>sample string 6</MobileNumber>
  <Phone>sample string 5</Phone>
  <PostalCode>15</PostalCode>
  <Status>sample string 8</Status>
  <Street>sample string 13</Street>
  <VATNo>sample string 9</VATNo>
  <VendorCode>1</VendorCode>
  <VendorName>sample string 2</VendorName>
  <VendorNameInArabic>sample string 10</VendorNameInArabic>
</Vendor>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.