POST ApDisburse/PrintChecksMultiVendor
Print an AP disburse check.
Request Information
URI Parameters
Body Parameters
The AP Disburse object used to be printed.
clsApDisbursePrintChecksMultiVendorName | Description | Type | Additional Information |
---|---|---|---|
MemoCheck |
Print memo checks |
boolean |
Required |
PostNextMonth |
Post to next month |
boolean |
Required |
CheckDate |
The date of the check. |
string |
Required Data type: DateTime Format must be MM/dd/yyyy |
CheckingAccount |
The checking account number. |
string |
Required |
LocationId |
The LocationID for transaction posting |
string |
Required Max length: 6 |
StartingCheckNumber |
The Starting Check Number. |
integer |
Required |
TopMargin |
Can be used to match the Agvance User Setting for the top margin. If TopMargin is not provided, the top margin from the accounting preference will be used if it exists. |
decimal number | |
PreCheckRun |
Tells API whether to run precheck or not |
boolean | |
CreateCheckAsTextFile |
Tells the API to create a Text or PDF check. True = Text, False = PDF, Default = False |
boolean | |
Vendors |
The Vendors to be included and their invoices. |
Collection of PrintChecksVendor |
Required |
Request Formats
application/json, text/json
{ "MemoCheck": true, "PostNextMonth": true, "CheckDate": "sample string 3", "CheckingAccount": "sample string 4", "LocationId": "sample string 5", "StartingCheckNumber": 6, "TopMargin": 1.1, "PreCheckRun": true, "CreateCheckAsTextFile": true, "Vendors": [ { "VendorId": "sample string 1", "Invoices": [ { "InvoiceNum": "sample string 1", "Discount": 2.1, "Payment": 3.1 }, { "InvoiceNum": "sample string 1", "Discount": 2.1, "Payment": 3.1 } ] }, { "VendorId": "sample string 1", "Invoices": [ { "InvoiceNum": "sample string 1", "Discount": 2.1, "Payment": 3.1 }, { "InvoiceNum": "sample string 1", "Discount": 2.1, "Payment": 3.1 } ] } ] }
application/xml, text/xml
<APDisbursePrintChecksMultiVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SSI.AP"> <CheckDate>sample string 3</CheckDate> <CheckingAccount>sample string 4</CheckingAccount> <CreateCheckAsTextFile>true</CreateCheckAsTextFile> <LocationId>sample string 5</LocationId> <MemoCheck>true</MemoCheck> <PostNextMonth>true</PostNextMonth> <PreCheckRun>true</PreCheckRun> <StartingCheckNumber>6</StartingCheckNumber> <TopMargin>1.1</TopMargin> <Vendors> <APDisbursePrintChecksVendor> <Invoices> <APDisbursePrintChecksInvoice> <Discount>2.1</Discount> <InvoiceNum>sample string 1</InvoiceNum> <Payment>3.1</Payment> </APDisbursePrintChecksInvoice> <APDisbursePrintChecksInvoice> <Discount>2.1</Discount> <InvoiceNum>sample string 1</InvoiceNum> <Payment>3.1</Payment> </APDisbursePrintChecksInvoice> </Invoices> <VendorId>sample string 1</VendorId> </APDisbursePrintChecksVendor> <APDisbursePrintChecksVendor> <Invoices> <APDisbursePrintChecksInvoice> <Discount>2.1</Discount> <InvoiceNum>sample string 1</InvoiceNum> <Payment>3.1</Payment> </APDisbursePrintChecksInvoice> <APDisbursePrintChecksInvoice> <Discount>2.1</Discount> <InvoiceNum>sample string 1</InvoiceNum> <Payment>3.1</Payment> </APDisbursePrintChecksInvoice> </Invoices> <VendorId>sample string 1</VendorId> </APDisbursePrintChecksVendor> </Vendors> </APDisbursePrintChecksMultiVendor>
application/x-www-form-urlencoded
Response Information
Resource Description
Print an AP disburse check.
AgvApDisbursePrintChecksMultiVendorName | Description | Type | Additional Information |
---|---|---|---|
Status |
Status of the API call. |
string | |
Message |
Message of the API call. |
string | |
ErrorList |
List of error messages of the API call. |
Collection of string | |
WarningList |
List of warning messages of the API call. |
Collection of string | |
Documents |
List of presigned url of the checks |
Collection of ApDisburseDocument |
Response Formats
application/json, text/json
{ "Status": "sample string 1", "Message": "sample string 2", "ErrorList": [ "sample string 1", "sample string 2" ], "WarningList": [ "sample string 1", "sample string 2" ], "Documents": [ { "Key": "sample string 1", "VendorId": "sample string 2", "PreSignedUrl": "sample string 3" }, { "Key": "sample string 1", "VendorId": "sample string 2", "PreSignedUrl": "sample string 3" } ] }
application/xml, text/xml
<AgvApDisbursePrintChecksMultiVendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Vendor"> <Documents xmlns:d2p1="http://schemas.datacontract.org/2004/07/SSI.AP"> <d2p1:APDisburseDocument> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:PreSignedUrl>sample string 3</d2p1:PreSignedUrl> <d2p1:VendorId>sample string 2</d2p1:VendorId> </d2p1:APDisburseDocument> <d2p1:APDisburseDocument> <d2p1:Key>sample string 1</d2p1:Key> <d2p1:PreSignedUrl>sample string 3</d2p1:PreSignedUrl> <d2p1:VendorId>sample string 2</d2p1:VendorId> </d2p1:APDisburseDocument> </Documents> <ErrorList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ErrorList> <Message>sample string 2</Message> <Status>sample string 1</Status> <WarningList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </WarningList> </AgvApDisbursePrintChecksMultiVendor>