POST api/Customer/GetCustomerAllOpenInvoices
Request Information
URI Parameters
None.
Body Parameters
RequestIDModelName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
Required |
|
RequestedUserID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "RequestedUserID": 1 }
application/xml, text/xml
Sample:
<RequestIDModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Request"> <RequestedUserID>1</RequestedUserID> <ID>1</ID> </RequestIDModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAllCustomerOpenInvoicesResponseName | Description | Type | Additional information |
---|---|---|---|
dOpeningBalance | decimal number |
None. |
|
AllCustomerOpenInvoices | Collection of CustomerOpenInvoicesModel |
None. |
|
ResponseCode | integer |
None. |
|
ResponseText | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "dOpeningBalance": 1.0, "AllCustomerOpenInvoices": [ { "SalePaymentID": 1, "CustomerInvoiceNo": "sample string 2", "CustomerID": 1, "DueDate": "2025-01-22T21:03:11.20438-06:00", "SaleID": 1, "dTotalAmount": 1.0, "dPaidAmount": 1.0, "dRemainingAmount": 1.0, "dTotalAmountString": "sample string 3", "dPaidAmountString": "sample string 4", "dRemainingAmountString": "sample string 5", "DueDateString": "sample string 6", "purchaseAmount": 1.0 }, { "SalePaymentID": 1, "CustomerInvoiceNo": "sample string 2", "CustomerID": 1, "DueDate": "2025-01-22T21:03:11.20438-06:00", "SaleID": 1, "dTotalAmount": 1.0, "dPaidAmount": 1.0, "dRemainingAmount": 1.0, "dTotalAmountString": "sample string 3", "dPaidAmountString": "sample string 4", "dRemainingAmountString": "sample string 5", "DueDateString": "sample string 6", "purchaseAmount": 1.0 } ], "ResponseCode": 1, "ResponseText": "sample string 2" }
application/xml, text/xml
Sample:
<GetAllCustomerOpenInvoicesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.Response"> <ResponseCode xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">1</ResponseCode> <ResponseText xmlns="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel">sample string 2</ResponseText> <AllCustomerOpenInvoices xmlns:d2p1="http://schemas.datacontract.org/2004/07/POS.DTO.DataModel"> <d2p1:CustomerOpenInvoicesModel> <d2p1:CustomerID>1</d2p1:CustomerID> <d2p1:CustomerInvoiceNo>sample string 2</d2p1:CustomerInvoiceNo> <d2p1:DueDate>2025-01-22T21:03:11.20438-06:00</d2p1:DueDate> <d2p1:DueDateString>sample string 6</d2p1:DueDateString> <d2p1:SaleID>1</d2p1:SaleID> <d2p1:SalePaymentID>1</d2p1:SalePaymentID> <d2p1:dPaidAmount>1</d2p1:dPaidAmount> <d2p1:dPaidAmountString>sample string 4</d2p1:dPaidAmountString> <d2p1:dRemainingAmount>1</d2p1:dRemainingAmount> <d2p1:dRemainingAmountString>sample string 5</d2p1:dRemainingAmountString> <d2p1:dTotalAmount>1</d2p1:dTotalAmount> <d2p1:dTotalAmountString>sample string 3</d2p1:dTotalAmountString> <d2p1:purchaseAmount>1</d2p1:purchaseAmount> </d2p1:CustomerOpenInvoicesModel> <d2p1:CustomerOpenInvoicesModel> <d2p1:CustomerID>1</d2p1:CustomerID> <d2p1:CustomerInvoiceNo>sample string 2</d2p1:CustomerInvoiceNo> <d2p1:DueDate>2025-01-22T21:03:11.20438-06:00</d2p1:DueDate> <d2p1:DueDateString>sample string 6</d2p1:DueDateString> <d2p1:SaleID>1</d2p1:SaleID> <d2p1:SalePaymentID>1</d2p1:SalePaymentID> <d2p1:dPaidAmount>1</d2p1:dPaidAmount> <d2p1:dPaidAmountString>sample string 4</d2p1:dPaidAmountString> <d2p1:dRemainingAmount>1</d2p1:dRemainingAmount> <d2p1:dRemainingAmountString>sample string 5</d2p1:dRemainingAmountString> <d2p1:dTotalAmount>1</d2p1:dTotalAmount> <d2p1:dTotalAmountString>sample string 3</d2p1:dTotalAmountString> <d2p1:purchaseAmount>1</d2p1:purchaseAmount> </d2p1:CustomerOpenInvoicesModel> </AllCustomerOpenInvoices> <dOpeningBalance>1</dOpeningBalance> </GetAllCustomerOpenInvoicesResponse>