frequently asked questions

All your questions in one place.

Folders

This method returns the folders list.

This method always returns the complete list of the folders that are available in the user's Winbiz Cloud, no matter the content of the "winbiz-companyid" and "winbiz-year" headers.

The method can be used as an alternative way to prompt the user with a list of folders / fiscal year that replaces the need to enter manually this values at the logon.

REMARK

The Headers "winbiz-companyid" and "winbiz-year" are compulsory, but can be left empty when this method is used.

BODY - RAW

{
  "Method": "Folders",
  "Parameters": [
            ]
}

EXAMPLE

Headers:

winbiz-companyid = 0

*/ Return the folders list

{
  "Method": "Folders",
  "Parameters": [
            ]
}

CLASS RETURNED 

PropertyDescription
dos_numeroID of the folder
dos_nameName of the folder
dos_adressFirst line of the address
dos_npaZip code of the address
dos_villeTown of the address
dos_cantonCanton of the address
exercicesList of the fiscal years of the folder
exc_anneeYear of the fiscal year
exc_debutStart date of the fiscal year
exc_finEnd date of the fiscal year
exc_descName of the fiscal year
exc_isbclIs the fiscal year closed (true) or not (false)

Did you find this article useful?

2 out of 8 found this helpful