POST v1/Vendor/VendorInsert

Request Information

URI Parameters

None.

Body Parameters

Collection of VendorRequest
NameDescriptionTypeAdditional information
VendorId

integer

None.

Name

string

Required

ContactName

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

City

string

None.

StateCode

string

None.

Zip

string

None.

CountryCode

string

None.

LicenseeId

integer

None.

Code

string

None.

Phone

string

None.

Fax

string

None.

Email

string

None.

URL

string

None.

Terms

string

None.

Active

boolean

None.

Notes

string

None.

UDF1

string

None.

UDF2

string

None.

UDF3

string

None.

UDF4

string

None.

UDF5

string

None.

UDF6

string

None.

UDF7

string

None.

UDF8

string

None.

UDF9

string

None.

UDF10

string

None.

UDF11

string

None.

UDF12

string

None.

UDF13

string

None.

UDF14

string

None.

UDF15

string

None.

UDF16

string

None.

UDF17

string

None.

UDF18

string

None.

UDF19

string

None.

UDF20

string

None.

UDF21

string

None.

UDF22

string

None.

UDF23

string

None.

UDF24

string

None.

UDF25

string

None.

UDF26

string

None.

UDF27

string

None.

UDF28

string

None.

UDF29

string

None.

UDF30

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "VendorId": 1,
    "Name": "sample string 2",
    "ContactName": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "Address3": "sample string 6",
    "City": "sample string 7",
    "StateCode": "sample string 8",
    "Zip": "sample string 9",
    "CountryCode": "sample string 10",
    "LicenseeId": 11,
    "Code": "sample string 12",
    "Phone": "sample string 13",
    "Fax": "sample string 14",
    "Email": "sample string 15",
    "URL": "sample string 16",
    "Terms": "sample string 17",
    "Active": true,
    "Notes": "sample string 18",
    "UDF1": "sample string 19",
    "UDF2": "sample string 20",
    "UDF3": "sample string 21",
    "UDF4": "sample string 22",
    "UDF5": "sample string 23",
    "UDF6": "sample string 24",
    "UDF7": "sample string 25",
    "UDF8": "sample string 26",
    "UDF9": "sample string 27",
    "UDF10": "sample string 28",
    "UDF11": "sample string 29",
    "UDF12": "sample string 30",
    "UDF13": "sample string 31",
    "UDF14": "sample string 32",
    "UDF15": "sample string 33",
    "UDF16": "sample string 34",
    "UDF17": "sample string 35",
    "UDF18": "sample string 36",
    "UDF19": "sample string 37",
    "UDF20": "sample string 38",
    "UDF21": "sample string 39",
    "UDF22": "sample string 40",
    "UDF23": "sample string 41",
    "UDF24": "sample string 42",
    "UDF25": "sample string 43",
    "UDF26": "sample string 44",
    "UDF27": "sample string 45",
    "UDF28": "sample string 46",
    "UDF29": "sample string 47",
    "UDF30": "sample string 48"
  },
  {
    "VendorId": 1,
    "Name": "sample string 2",
    "ContactName": "sample string 3",
    "Address1": "sample string 4",
    "Address2": "sample string 5",
    "Address3": "sample string 6",
    "City": "sample string 7",
    "StateCode": "sample string 8",
    "Zip": "sample string 9",
    "CountryCode": "sample string 10",
    "LicenseeId": 11,
    "Code": "sample string 12",
    "Phone": "sample string 13",
    "Fax": "sample string 14",
    "Email": "sample string 15",
    "URL": "sample string 16",
    "Terms": "sample string 17",
    "Active": true,
    "Notes": "sample string 18",
    "UDF1": "sample string 19",
    "UDF2": "sample string 20",
    "UDF3": "sample string 21",
    "UDF4": "sample string 22",
    "UDF5": "sample string 23",
    "UDF6": "sample string 24",
    "UDF7": "sample string 25",
    "UDF8": "sample string 26",
    "UDF9": "sample string 27",
    "UDF10": "sample string 28",
    "UDF11": "sample string 29",
    "UDF12": "sample string 30",
    "UDF13": "sample string 31",
    "UDF14": "sample string 32",
    "UDF15": "sample string 33",
    "UDF16": "sample string 34",
    "UDF17": "sample string 35",
    "UDF18": "sample string 36",
    "UDF19": "sample string 37",
    "UDF20": "sample string 38",
    "UDF21": "sample string 39",
    "UDF22": "sample string 40",
    "UDF23": "sample string 41",
    "UDF24": "sample string 42",
    "UDF25": "sample string 43",
    "UDF26": "sample string 44",
    "UDF27": "sample string 45",
    "UDF28": "sample string 46",
    "UDF29": "sample string 47",
    "UDF30": "sample string 48"
  }
]

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 'IList`1'.

Response Information

Resource Description

Collection of VendorResponse
NameDescriptionTypeAdditional information
VendorId

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VendorId": 1,
    "Message": "sample string 2"
  },
  {
    "VendorId": 1,
    "Message": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVendorResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <VendorResponse>
    <VendorId>1</VendorId>
    <Message>sample string 2</Message>
  </VendorResponse>
  <VendorResponse>
    <VendorId>1</VendorId>
    <Message>sample string 2</Message>
  </VendorResponse>
</ArrayOfVendorResponse>