POST api/VendorContacts

Request Information

URI Parameters

None.

Body Parameters

VendorContact
NameDescriptionTypeAdditional information
VendorContactID

integer

None.

VID

integer

None.

FirstName

string

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

JobTitle

string

String length: inclusive between 0 and 40

OfficePhone

string

String length: inclusive between 0 and 25

OfficePhoneExt

string

String length: inclusive between 0 and 25

HomePhone

string

String length: inclusive between 0 and 25

AltPhone1

string

String length: inclusive between 0 and 25

AltPhone2

string

String length: inclusive between 0 and 25

OfficeEmail

string

String length: inclusive between 0 and 100

HomeEmail

string

String length: inclusive between 0 and 100

AltEmail1

string

String length: inclusive between 0 and 100

AltEmail2

string

String length: inclusive between 0 and 100

Address1

string

String length: inclusive between 0 and 50

Address2

string

String length: inclusive between 0 and 50

City

string

String length: inclusive between 0 and 40

State

string

String length: inclusive between 0 and 10

ZipCode

string

String length: inclusive between 0 and 20

Country

string

String length: inclusive between 0 and 50

MailStop

string

String length: inclusive between 0 and 50

FaxPhone

string

String length: inclusive between 0 and 50

Description

string

String length: inclusive between 0 and 100

Comment

string

String length: inclusive between 0 and 255

Status

string

String length: inclusive between 0 and 1

Prefix

string

String length: inclusive between 0 and 10

Address3

string

String length: inclusive between 0 and 50

NickName

string

String length: inclusive between 0 and 30

TimeZoneGMT

integer

None.

SeparateOffice

string

String length: inclusive between 0 and 1

ReportsTo

string

String length: inclusive between 0 and 50

DisplayOnPortal

string

String length: inclusive between 0 and 1

LeftRoleDate

date

None.

Department

string

String length: inclusive between 0 and 40

Portal_LoginID

integer

None.

Portal_LoginName

string

String length: inclusive between 0 and 50

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "VendorContactID": 1,
  "VID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "JobTitle": "sample string 4",
  "OfficePhone": "sample string 5",
  "OfficePhoneExt": "sample string 6",
  "HomePhone": "sample string 7",
  "AltPhone1": "sample string 8",
  "AltPhone2": "sample string 9",
  "OfficeEmail": "sample string 10",
  "HomeEmail": "sample string 11",
  "AltEmail1": "sample string 12",
  "AltEmail2": "sample string 13",
  "Address1": "sample string 14",
  "Address2": "sample string 15",
  "City": "sample string 16",
  "State": "sample string 17",
  "ZipCode": "sample string 18",
  "Country": "sample string 19",
  "MailStop": "sample string 20",
  "FaxPhone": "sample string 21",
  "Description": "sample string 22",
  "Comment": "sample string 23",
  "Status": "sample string 24",
  "Prefix": "sample string 25",
  "Address3": "sample string 26",
  "NickName": "sample string 27",
  "TimeZoneGMT": 1,
  "SeparateOffice": "sample string 28",
  "ReportsTo": "sample string 29",
  "DisplayOnPortal": "sample string 30",
  "LeftRoleDate": "2025-05-09T17:44:39.8394343+00:00",
  "Department": "sample string 31",
  "Portal_LoginID": 1,
  "Portal_LoginName": "sample string 32",
  "ID": 33
}

application/xml, text/xml

Sample:
<VendorContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Address1>sample string 14</Address1>
  <Address2>sample string 15</Address2>
  <Address3>sample string 26</Address3>
  <AltEmail1>sample string 12</AltEmail1>
  <AltEmail2>sample string 13</AltEmail2>
  <AltPhone1>sample string 8</AltPhone1>
  <AltPhone2>sample string 9</AltPhone2>
  <City>sample string 16</City>
  <Comment>sample string 23</Comment>
  <Country>sample string 19</Country>
  <Department>sample string 31</Department>
  <Description>sample string 22</Description>
  <DisplayOnPortal>sample string 30</DisplayOnPortal>
  <FaxPhone>sample string 21</FaxPhone>
  <FirstName>sample string 2</FirstName>
  <HomeEmail>sample string 11</HomeEmail>
  <HomePhone>sample string 7</HomePhone>
  <ID>33</ID>
  <JobTitle>sample string 4</JobTitle>
  <LastName>sample string 3</LastName>
  <LeftRoleDate>2025-05-09T17:44:39.8394343+00:00</LeftRoleDate>
  <MailStop>sample string 20</MailStop>
  <NickName>sample string 27</NickName>
  <OfficeEmail>sample string 10</OfficeEmail>
  <OfficePhone>sample string 5</OfficePhone>
  <OfficePhoneExt>sample string 6</OfficePhoneExt>
  <Portal_LoginID>1</Portal_LoginID>
  <Portal_LoginName>sample string 32</Portal_LoginName>
  <Prefix>sample string 25</Prefix>
  <ReportsTo>sample string 29</ReportsTo>
  <SeparateOffice>sample string 28</SeparateOffice>
  <State>sample string 17</State>
  <Status>sample string 24</Status>
  <TimeZoneGMT>1</TimeZoneGMT>
  <VID>1</VID>
  <VendorContactID>1</VendorContactID>
  <ZipCode>sample string 18</ZipCode>
</VendorContact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

VendorContact
NameDescriptionTypeAdditional information
VendorContactID

integer

None.

VID

integer

None.

FirstName

string

String length: inclusive between 0 and 50

LastName

string

String length: inclusive between 0 and 50

JobTitle

string

String length: inclusive between 0 and 40

OfficePhone

string

String length: inclusive between 0 and 25

OfficePhoneExt

string

String length: inclusive between 0 and 25

HomePhone

string

String length: inclusive between 0 and 25

AltPhone1

string

String length: inclusive between 0 and 25

AltPhone2

string

String length: inclusive between 0 and 25

OfficeEmail

string

String length: inclusive between 0 and 100

HomeEmail

string

String length: inclusive between 0 and 100

AltEmail1

string

String length: inclusive between 0 and 100

AltEmail2

string

String length: inclusive between 0 and 100

Address1

string

String length: inclusive between 0 and 50

Address2

string

String length: inclusive between 0 and 50

City

string

String length: inclusive between 0 and 40

State

string

String length: inclusive between 0 and 10

ZipCode

string

String length: inclusive between 0 and 20

Country

string

String length: inclusive between 0 and 50

MailStop

string

String length: inclusive between 0 and 50

FaxPhone

string

String length: inclusive between 0 and 50

Description

string

String length: inclusive between 0 and 100

Comment

string

String length: inclusive between 0 and 255

Status

string

String length: inclusive between 0 and 1

Prefix

string

String length: inclusive between 0 and 10

Address3

string

String length: inclusive between 0 and 50

NickName

string

String length: inclusive between 0 and 30

TimeZoneGMT

integer

None.

SeparateOffice

string

String length: inclusive between 0 and 1

ReportsTo

string

String length: inclusive between 0 and 50

DisplayOnPortal

string

String length: inclusive between 0 and 1

LeftRoleDate

date

None.

Department

string

String length: inclusive between 0 and 40

Portal_LoginID

integer

None.

Portal_LoginName

string

String length: inclusive between 0 and 50

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "VendorContactID": 1,
  "VID": 1,
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "JobTitle": "sample string 4",
  "OfficePhone": "sample string 5",
  "OfficePhoneExt": "sample string 6",
  "HomePhone": "sample string 7",
  "AltPhone1": "sample string 8",
  "AltPhone2": "sample string 9",
  "OfficeEmail": "sample string 10",
  "HomeEmail": "sample string 11",
  "AltEmail1": "sample string 12",
  "AltEmail2": "sample string 13",
  "Address1": "sample string 14",
  "Address2": "sample string 15",
  "City": "sample string 16",
  "State": "sample string 17",
  "ZipCode": "sample string 18",
  "Country": "sample string 19",
  "MailStop": "sample string 20",
  "FaxPhone": "sample string 21",
  "Description": "sample string 22",
  "Comment": "sample string 23",
  "Status": "sample string 24",
  "Prefix": "sample string 25",
  "Address3": "sample string 26",
  "NickName": "sample string 27",
  "TimeZoneGMT": 1,
  "SeparateOffice": "sample string 28",
  "ReportsTo": "sample string 29",
  "DisplayOnPortal": "sample string 30",
  "LeftRoleDate": "2025-05-09T17:44:39.8550838+00:00",
  "Department": "sample string 31",
  "Portal_LoginID": 1,
  "Portal_LoginName": "sample string 32",
  "ID": 33
}

application/xml, text/xml

Sample:
<VendorContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fabric">
  <Address1>sample string 14</Address1>
  <Address2>sample string 15</Address2>
  <Address3>sample string 26</Address3>
  <AltEmail1>sample string 12</AltEmail1>
  <AltEmail2>sample string 13</AltEmail2>
  <AltPhone1>sample string 8</AltPhone1>
  <AltPhone2>sample string 9</AltPhone2>
  <City>sample string 16</City>
  <Comment>sample string 23</Comment>
  <Country>sample string 19</Country>
  <Department>sample string 31</Department>
  <Description>sample string 22</Description>
  <DisplayOnPortal>sample string 30</DisplayOnPortal>
  <FaxPhone>sample string 21</FaxPhone>
  <FirstName>sample string 2</FirstName>
  <HomeEmail>sample string 11</HomeEmail>
  <HomePhone>sample string 7</HomePhone>
  <ID>33</ID>
  <JobTitle>sample string 4</JobTitle>
  <LastName>sample string 3</LastName>
  <LeftRoleDate>2025-05-09T17:44:39.8550838+00:00</LeftRoleDate>
  <MailStop>sample string 20</MailStop>
  <NickName>sample string 27</NickName>
  <OfficeEmail>sample string 10</OfficeEmail>
  <OfficePhone>sample string 5</OfficePhone>
  <OfficePhoneExt>sample string 6</OfficePhoneExt>
  <Portal_LoginID>1</Portal_LoginID>
  <Portal_LoginName>sample string 32</Portal_LoginName>
  <Prefix>sample string 25</Prefix>
  <ReportsTo>sample string 29</ReportsTo>
  <SeparateOffice>sample string 28</SeparateOffice>
  <State>sample string 17</State>
  <Status>sample string 24</Status>
  <TimeZoneGMT>1</TimeZoneGMT>
  <VID>1</VID>
  <VendorContactID>1</VendorContactID>
  <ZipCode>sample string 18</ZipCode>
</VendorContact>