POST Api/Vendor/AddVendorFileData
Request Information
URI Parameters
None.
Body Parameters
UploadVendorDataRequestName | Description | Type | Additional information |
---|---|---|---|
UploadType | UploadType |
None. |
|
VendorData | Collection of VendorsExcel |
None. |
Request Formats
application/json, text/json
Sample:
{ "UploadType": 0, "VendorData": [ { "VendorNumber": "sample string 1", "CompanyName": "sample string 2", "PrimaryContactName": "sample string 3", "PrimaryContactPhone": "sample string 4", "PrimaryContactEmail": "sample string 5", "VendorAddress": "sample string 6", "IsActive": true, "Notes": "sample string 8", "Row": 9 }, { "VendorNumber": "sample string 1", "CompanyName": "sample string 2", "PrimaryContactName": "sample string 3", "PrimaryContactPhone": "sample string 4", "PrimaryContactEmail": "sample string 5", "VendorAddress": "sample string 6", "IsActive": true, "Notes": "sample string 8", "Row": 9 } ] }
application/xml, text/xml
Sample:
<UploadVendorDataRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.NAServices.Request"> <UploadType>AppendInExisting</UploadType> <VendorData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels.NAServices"> <d2p1:VendorsExcel> <Row xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels">9</Row> <d2p1:CompanyName>sample string 2</d2p1:CompanyName> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Notes>sample string 8</d2p1:Notes> <d2p1:PrimaryContactEmail>sample string 5</d2p1:PrimaryContactEmail> <d2p1:PrimaryContactName>sample string 3</d2p1:PrimaryContactName> <d2p1:PrimaryContactPhone>sample string 4</d2p1:PrimaryContactPhone> <d2p1:VendorAddress>sample string 6</d2p1:VendorAddress> <d2p1:VendorNumber>sample string 1</d2p1:VendorNumber> </d2p1:VendorsExcel> <d2p1:VendorsExcel> <Row xmlns="http://schemas.datacontract.org/2004/07/Qorus.TasQ.ClassModels.ExcelImportModels">9</Row> <d2p1:CompanyName>sample string 2</d2p1:CompanyName> <d2p1:IsActive>true</d2p1:IsActive> <d2p1:Notes>sample string 8</d2p1:Notes> <d2p1:PrimaryContactEmail>sample string 5</d2p1:PrimaryContactEmail> <d2p1:PrimaryContactName>sample string 3</d2p1:PrimaryContactName> <d2p1:PrimaryContactPhone>sample string 4</d2p1:PrimaryContactPhone> <d2p1:VendorAddress>sample string 6</d2p1:VendorAddress> <d2p1:VendorNumber>sample string 1</d2p1:VendorNumber> </d2p1:VendorsExcel> </VendorData> </UploadVendorDataRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.