You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i'm using fattureincloud v2 sdc c# api, i'm trying to obtain articles from an 'expense' document type that i think is stored in the 'ItemsList' collection referred to the 'ListReceivedDocuments' items returned, my code:
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
config.AccessToken = Token;
var apiInstance = new ReceivedDocumentsApi(config);
var type = "expense";
var fields = "Id,date,ItemsList";
var fieldset = "detailed";
var sort = "id";
var page = 1;
var perPage = 300;
var q = "date>'2023-01-01'";
ListReceivedDocumentsResponse Acquisti = apiInstance.ListReceivedDocuments(companyId, type, fields, fieldset, sort, page, perPage, q);
In the collection object acquisti.Data[i].temsList i found null but the document i'm reading has an article.
In the collection object acquisti.Data[i].PaymentsList i correctly found 1 payment.
My question is how i can extract the article associate with the expensive document.
Thanks.
PackagesHost your dependencies, libraries, and production-ready code, right from your repositoryQuestion
1 participant
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Select Topic Area
Question
Body
Hello, i'm using fattureincloud v2 sdc c# api, i'm trying to obtain articles from an 'expense' document type that i think is stored in the 'ItemsList' collection referred to the 'ListReceivedDocuments' items returned, my code:
Configuration config = new Configuration();
config.BasePath = "https://api-v2.fattureincloud.it";
config.AccessToken = Token;
var apiInstance = new ReceivedDocumentsApi(config);
var type = "expense";
var fields = "Id,date,ItemsList";
var fieldset = "detailed";
var sort = "id";
var page = 1;
var perPage = 300;
var q = "date>'2023-01-01'";
ListReceivedDocumentsResponse Acquisti = apiInstance.ListReceivedDocuments(companyId, type, fields, fieldset, sort, page, perPage, q);
In the collection object acquisti.Data[i].temsList i found null but the document i'm reading has an article.
In the collection object acquisti.Data[i].PaymentsList i correctly found 1 payment.
My question is how i can extract the article associate with the expensive document.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions