POST Api/Invoices/ExportToXls
Eksportuje wyniki wyszukiwania do pliku XLS (pomija stronicowanie)
Request Information
URI Parameters
None.
Body Parameters
ustawienia filtrowania i sortowania wyników
InvoiceFilterName | Description | Type | Additional information |
---|---|---|---|
TextFilter |
Filtrowanie w zależności od tekstu. Jeśli null to brak filtrowania. |
string |
None. |
SortOrder |
Określa sposób sortowania wyników |
InvoiceSortEnum |
Required |
MainInvoiceId |
Filtruje listę wyników według identyfikatora obiektu MainInvoice. Jeśli null to filtr jest pomijany. |
integer |
None. |
CustomInvoiceId |
Filtruje listę wyników według identyfikatora obiektu CustomInvoice. Jeśli null to filtr jest pomijany. |
string |
None. |
PayTypeId |
Filtruje listę wyników według identyfikatora obiektu PayType. Jeśli null to filtr jest pomijany. |
integer |
None. |
InvoiceTypeId |
Filtruje listę wyników według identyfikatora obiektu InvoiceType. Jeśli null to filtr jest pomijany. |
integer |
None. |
CustomerId |
Filtruje listę wyników według identyfikatora obiektu Customer. Jeśli null to filtr jest pomijany. |
integer |
None. |
ProviderId |
Filtruje listę wyników według identyfikatora obiektu Provider. Jeśli null to filtr jest pomijany. |
integer |
None. |
ProfileId |
Filtruje listę wyników według identyfikatora obiektu Profile. Jeśli null to filtr jest pomijany. |
integer |
None. |
ItemsPerPage |
Ilość obiektów na stronę |
integer |
None. |
CurrentPage |
Obecna strona |
integer |
None. |
Request Formats
application/json, text/json
{ "textFilter": "sample string 1", "sortOrder": 0, "mainInvoiceId": 1, "customInvoiceId": "sample string 2", "payTypeId": 1, "invoiceTypeId": 1, "customerId": 1, "providerId": 1, "profileId": 1, "itemsPerPage": 3, "currentPage": 4 }
multipart/form-data
{"textFilter":"sample string 1","sortOrder":0,"mainInvoiceId":1,"customInvoiceId":"sample string 2","payTypeId":1,"invoiceTypeId":1,"customerId":1,"providerId":1,"profileId":1,"itemsPerPage":3,"currentPage":4}
application/xml, text/xml
<InvoiceFilter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <ItemsPerPage>3</ItemsPerPage> <CurrentPage>4</CurrentPage> <TextFilter>sample string 1</TextFilter> <SortOrder>InvoiceIdAsc</SortOrder> <MainInvoiceId>1</MainInvoiceId> <CustomInvoiceId>sample string 2</CustomInvoiceId> <PayTypeId>1</PayTypeId> <InvoiceTypeId>1</InvoiceTypeId> <CustomerId>1</CustomerId> <ProviderId>1</ProviderId> <ProfileId>1</ProfileId> </InvoiceFilter>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
wygenerowany plik XLS z danymi
HttpResponseMessageName | 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. |