POST v1/Vendor/VendorContactUpdate

Request Information

URI Parameters

None.

Body Parameters

Collection of VendorContactUpdateRequest
NameDescriptionTypeAdditional information
ContactId

integer

Required

VendorId

integer

Required

Salutation

string

None.

FirstName

string

None.

MiddleName

string

None.

LastName

string

None.

Suffix

string

None.

Title

string

None.

VendorName

string

None.

Active

boolean

None.

ContactTypeId

integer

None.

Comment

string

None.

Address1

string

None.

Address2

string

None.

Address3

string

None.

City

string

None.

CountryCode

string

None.

ZipCode

string

None.

StateCode

string

None.

BusinessPhone

string

None.

BusinessPhoneExtension

string

None.

OtherPhone

string

None.

OtherPhoneExtension

string

None.

Fax

string

None.

FaxExtension

string

None.

BusinessEmail

string

None.

OtherEmail

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ContactId": 1,
    "VendorId": 2,
    "Salutation": "sample string 3",
    "FirstName": "sample string 4",
    "MiddleName": "sample string 5",
    "LastName": "sample string 6",
    "Suffix": "sample string 7",
    "Title": "sample string 8",
    "VendorName": "sample string 9",
    "Active": true,
    "ContactTypeId": 1,
    "Comment": "sample string 10",
    "Address1": "sample string 11",
    "Address2": "sample string 12",
    "Address3": "sample string 13",
    "City": "sample string 14",
    "CountryCode": "sample string 15",
    "ZipCode": "sample string 16",
    "StateCode": "sample string 17",
    "BusinessPhone": "sample string 18",
    "BusinessPhoneExtension": "sample string 19",
    "OtherPhone": "sample string 20",
    "OtherPhoneExtension": "sample string 21",
    "Fax": "sample string 22",
    "FaxExtension": "sample string 23",
    "BusinessEmail": "sample string 24",
    "OtherEmail": "sample string 25"
  },
  {
    "ContactId": 1,
    "VendorId": 2,
    "Salutation": "sample string 3",
    "FirstName": "sample string 4",
    "MiddleName": "sample string 5",
    "LastName": "sample string 6",
    "Suffix": "sample string 7",
    "Title": "sample string 8",
    "VendorName": "sample string 9",
    "Active": true,
    "ContactTypeId": 1,
    "Comment": "sample string 10",
    "Address1": "sample string 11",
    "Address2": "sample string 12",
    "Address3": "sample string 13",
    "City": "sample string 14",
    "CountryCode": "sample string 15",
    "ZipCode": "sample string 16",
    "StateCode": "sample string 17",
    "BusinessPhone": "sample string 18",
    "BusinessPhoneExtension": "sample string 19",
    "OtherPhone": "sample string 20",
    "OtherPhoneExtension": "sample string 21",
    "Fax": "sample string 22",
    "FaxExtension": "sample string 23",
    "BusinessEmail": "sample string 24",
    "OtherEmail": "sample string 25"
  }
]

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 VendorContactResponse
NameDescriptionTypeAdditional information
ContactId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContactId": 1
  },
  {
    "ContactId": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfVendorContactResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <VendorContactResponse>
    <ContactId>1</ContactId>
  </VendorContactResponse>
  <VendorContactResponse>
    <ContactId>1</ContactId>
  </VendorContactResponse>
</ArrayOfVendorContactResponse>