POST api/StorageObject/GetInvoiceDocuments/{guid}
Get memory stream of Invoice and related POD document(s) for invoice id and invoice date requested.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| guid |
Request Reference Values(Optional Parameter). |
string |
Required |
Body Parameters
Search request parameters.
DocumentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Vendor_Name |
Vendor name in caps. |
string |
Required |
| Vendor_UserID |
User ID of Vendor service account. |
string |
Required |
| Vendor_Password |
Encrypted Password of vendor service account |
string |
Required |
| Ticket_Number |
Invoice Number to be searched. (Only numeric value with 8-12 digits) |
string |
Required |
| Ticket_Date |
Invoice Date of Invoice. (Only Date in MM-dd-yyyy format) |
string |
Required |
| POD_TYPE |
POD type of the document to be searched. Values should be any of (BDR,BOL,EST,FAC,INV,OTH,REC,SST). |
string |
None. |
| Customer_ID |
Customer ID to be searched. |
string |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{
"Customer_ID": "sample string 1",
"Vendor_Name": "sample string 1",
"Vendor_UserID": "sample string 2",
"Vendor_Password": "sample string 3",
"Ticket_Number": "sample string 4",
"Ticket_Date": "sample string 5",
"POD_TYPE": "sample string 6"
}
application/xml, text/xml
Sample:
<DocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NextGen.Digital.Imaging.App.ExtGateway.Models"> <Customer_ID>sample string 1</Customer_ID> <POD_TYPE>sample string 6</POD_TYPE> <Ticket_Date>sample string 5</Ticket_Date> <Ticket_Number>sample string 4</Ticket_Number> <Vendor_Name>sample string 1</Vendor_Name> <Vendor_Password>sample string 3</Vendor_Password> <Vendor_UserID>sample string 2</Vendor_UserID> </DocumentRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Return the memory stream of documents in "HttpResponseMessage" for Invoice Id requested.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |