POST api/supplier/save-document
Request Information
URI Parameters
None.
Body Parameters
SaveSupplierDocumentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentID | integer |
None. |
|
| SupplierID | integer |
None. |
|
| DocumentTypeID | integer |
None. |
|
| UserID | integer |
None. |
|
| DocTitle | string |
None. |
|
| FileName | string |
None. |
|
| Base64File | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DocumentID": 1,
"SupplierID": 2,
"DocumentTypeID": 3,
"UserID": 4,
"DocTitle": "sample string 5",
"FileName": "sample string 6",
"Base64File": "sample string 7"
}
application/xml, text/xml
Sample:
<SaveSupplierDocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PricingWebAPI.Models"> <Base64File>sample string 7</Base64File> <DocTitle>sample string 5</DocTitle> <DocumentID>1</DocumentID> <DocumentTypeID>3</DocumentTypeID> <FileName>sample string 6</FileName> <SupplierID>2</SupplierID> <UserID>4</UserID> </SaveSupplierDocumentRequest>
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.