POST Api/Vendor/AddUpdateVendor

Request Information

URI Parameters

None.

Body Parameters

NAServicesVendorModel
NameDescriptionTypeAdditional information
Id

integer

None.

VendorNumber

string

None.

PrimaryContactName

string

None.

PrimaryContactEmail

string

None.

PrimaryContactPhone

string

None.

VendorAddress

string

None.

CompanyName

string

None.

IsActive

boolean

None.

ErrorId

integer

None.

Notes

string

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

ConfigDateTimeFormat

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "VendorNumber": "sample string 2",
  "PrimaryContactName": "sample string 3",
  "PrimaryContactEmail": "sample string 4",
  "PrimaryContactPhone": "sample string 5",
  "VendorAddress": "sample string 6",
  "CompanyName": "sample string 7",
  "IsActive": true,
  "ErrorId": 9,
  "Notes": "sample string 10",
  "ModifiedBy": "sample string 11",
  "ModifiedDate": "2025-01-08T18:43:42.8891129+00:00",
  "ConfigDateTimeFormat": "sample string 13"
}

application/xml, text/xml

Sample:
<NAServicesVendorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.NAServices">
  <CompanyName>sample string 7</CompanyName>
  <ConfigDateTimeFormat>sample string 13</ConfigDateTimeFormat>
  <ErrorId>9</ErrorId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <ModifiedBy>sample string 11</ModifiedBy>
  <ModifiedDate>2025-01-08T18:43:42.8891129+00:00</ModifiedDate>
  <Notes>sample string 10</Notes>
  <PrimaryContactEmail>sample string 4</PrimaryContactEmail>
  <PrimaryContactName>sample string 3</PrimaryContactName>
  <PrimaryContactPhone>sample string 5</PrimaryContactPhone>
  <VendorAddress>sample string 6</VendorAddress>
  <VendorNumber>sample string 2</VendorNumber>
</NAServicesVendorModel>

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.