PUT api/v2/vendor/{vendorId}/contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vendorId

integer

Required

Body Parameters

VendorContact
NameDescriptionTypeAdditional information
VContactID

integer

None.

VendorID

integer

None.

Name

string

None.

Title

string

None.

IsPrimary

boolean

None.

MaintenanceCompany

boolean

None.

HourlyRate

decimal number

None.

Phone

string

None.

Mobile

string

None.

Fax

string

None.

Email

string

None.

IsDeleted

boolean

None.

DateCreated

date

None.

LastModified

date

None.

Request Formats

application/json, text/json

Sample:
{
  "VContactID": 1,
  "VendorID": 1,
  "Name": "sample string 2",
  "Title": "sample string 3",
  "IsPrimary": true,
  "MaintenanceCompany": true,
  "HourlyRate": 1.0,
  "Phone": "sample string 4",
  "Mobile": "sample string 5",
  "Fax": "sample string 6",
  "Email": "sample string 7",
  "IsDeleted": true,
  "DateCreated": "2025-05-20T11:49:02.5967776-07:00",
  "LastModified": "2025-05-20T11:49:02.5967776-07:00"
}

application/xml, text/xml

Sample:
<VendorContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CaliberAPI">
  <DateCreated>2025-05-20T11:49:02.5967776-07:00</DateCreated>
  <Email>sample string 7</Email>
  <Fax>sample string 6</Fax>
  <HourlyRate>1</HourlyRate>
  <IsDeleted>true</IsDeleted>
  <IsPrimary>true</IsPrimary>
  <LastModified>2025-05-20T11:49:02.5967776-07:00</LastModified>
  <MaintenanceCompany>true</MaintenanceCompany>
  <Mobile>sample string 5</Mobile>
  <Name>sample string 2</Name>
  <Phone>sample string 4</Phone>
  <Title>sample string 3</Title>
  <VContactID>1</VContactID>
  <VendorID>1</VendorID>
</VendorContact>

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 'VendorContact'.

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.