{"openapi":"3.0.1","info":{"version":"1","title":"3CadSupervisor","description":"This is a simple API for managing 3CadSupervisor"},"servers":[{"url":"https://localhost:44395/","description":"3cadsupervisor server local"},{"url":"https://ecad24.dau.it/3cadsupervisor","description":"Development environmment"},{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/c75364/3CadSupervisor/1"}],"paths":{"/login/oauth2":{"get":{"security":[{"oauth2":[]}],"summary":"login into the server","description":"This method respect the **OAuth2.0 Standard**","parameters":[{"in":"header","name":"Authorization","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"the access token and the refresh token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"403":{"description":"the user is not authorized to access to this website","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"500":{"description":"an error occur in the server's code","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/login/refreshAccessToken":{"get":{"description":"This method respect the **OAuth2.0 Standard**, and it is used to obtain a new access token when it is expired. Use this methods only if you have signed keep me log in, and you have the cookie setted.","responses":{"200":{"description":"the new access token","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"400":{"description":"bad input parameters or unsupported granttype","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"401":{"description":"the user is not authorized to access to this website","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationServerError"}}}},"403":{"description":"the user is not authorized to access to this website","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AuthorizationServerError"}}}},"500":{"description":"an error occur in the server's code","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/logout/oauth2":{"get":{"tags":["Logout"],"summary":"Logout method","description":"Logout service","responses":{"200":{"description":"Logout success","content":{"application/json":{"schema":{"type":"boolean"}}}},"409":{"description":"Error in data sent","content":{}},"500":{"description":"Internal server error","content":{}}}}},"/Users/GetCatalogs":{"get":{"security":[{"oauth2":[]}],"description":"Returns a list of catalog for the specified user","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"userid","schema":{"type":"integer"}}],"responses":{"200":{"description":"List of 3CadLite users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/GetUsers":{"get":{"security":[{"oauth2":[]}],"description":"Returns a list of users licences","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"where","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"string"}},{"in":"query","name":"orderBy","schema":{"type":"string"}},{"in":"query","name":"ascending","schema":{"type":"string"}}],"responses":{"200":{"description":"List of 3CadLite users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/GetUsersComplete":{"get":{"security":[{"oauth2":[]}],"description":"Returns a list of users and user info","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"where","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"string"}},{"in":"query","name":"orderBy","schema":{"type":"string"}},{"in":"query","name":"ascending","schema":{"type":"string"}}],"responses":{"200":{"description":"List of 3CadLite users and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/GetUserInfo":{"get":{"security":[{"oauth2":[]}],"description":"Returns detailed info of the selected 3cadlite userid","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"userid","schema":{"type":"integer"}}],"responses":{"200":{"description":"table with detailed userid info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/GetUserInfoComplete":{"get":{"security":[{"oauth2":[]}],"description":"Returns a list of users and user info","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"where","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"string"}},{"in":"query","name":"orderBy","schema":{"type":"string"}},{"in":"query","name":"ascending","schema":{"type":"string"}}],"responses":{"200":{"description":"List of 3CadLite users and user info","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/SetUser":{"post":{"security":[{"oauth2":[]}],"description":"Update a 3cadlite user data (tab. xUtenti)","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/SetUserInfo":{"post":{"security":[{"oauth2":[]}],"description":"Add or update a 3cadlite user data catalog (tab. xInfoCatalogot)","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInfo"}}}},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/SetUserInfoMassive":{"post":{"security":[{"oauth2":[]}],"description":"Update multiple 3cadlite user data catalog (tab. xInfoCatalogot)","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"header","name":"type","schema":{"type":"integer"},"required":true},{"in":"header","name":"fromvalue","schema":{"type":"string"},"required":true},{"in":"header","name":"tovalue","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/SetSelectedUsersInfo":{"post":{"security":[{"oauth2":[]}],"description":"Update multiple 3cadlite user data catalog for selected users (tab. xInfoCatalogot)","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"UserIdList","schema":{"type":"array","items":{"type":"integer"}},"required":true}],"requestBody":{"description":"userinfo to update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInfoUpdate"}}}},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/DelUser":{"post":{"security":[{"oauth2":[]}],"description":"Delete 3cadlite user","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/User"}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/GetUserActivationLog":{"get":{"security":[{"oauth2":[]}],"description":"Get the activations log for the specified 3cadlite user","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"userid","schema":{"type":"integer"}}],"responses":{"200":{"description":"table with detailed userid activations log","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/GetCodCli":{"get":{"security":[{"oauth2":[]}],"description":"Get json of xClienti table","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"where","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"string"}},{"in":"query","name":"orderBy","schema":{"type":"string"}},{"in":"query","name":"ascending","schema":{"type":"string"}}],"responses":{"200":{"description":"Get json of xClienti table","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/GetCalcGroup":{"get":{"security":[{"oauth2":[]}],"description":"Get groups and coeff","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"userid","schema":{"type":"integer"}},{"in":"query","name":"codshop","schema":{"type":"string"}}],"responses":{"200":{"description":"object with group and coeff","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mCalcGroup"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/SetCalcGroup":{"post":{"security":[{"oauth2":[]}],"description":"save group and coeff info","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"userid","schema":{"type":"integer"}},{"in":"query","name":"codshop","schema":{"type":"string"}}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mCalcGroup"}}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Users/UnlockLic":{"post":{"security":[{"oauth2":[]}],"description":"Clean codicecontrollo field on xutenti","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"description":"lista idutenti","content":{"application/json":{"schema":{"type":"array","items":{"type":"integer"},"example":[12884,4004,4005]}}}},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Shop/SetShop":{"post":{"security":[{"oauth2":[]}],"description":"Add or update a shop","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shop"}}}},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Shop/DelShop":{"post":{"security":[{"oauth2":[]}],"description":"Delete shop","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Shop"}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Shop/GetShops":{"get":{"security":[{"oauth2":[]}],"description":"Returns a list of shops","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"where","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"string"}},{"in":"query","name":"orderBy","schema":{"type":"string"}},{"in":"query","name":"ascending","schema":{"type":"string"}}],"responses":{"200":{"description":"List of 3CadLite users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Owners/SetOwner":{"post":{"security":[{"oauth2":[]}],"description":"Add or update a supervisor owner","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Owner"}}}},"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Owners/DelOwner":{"post":{"security":[{"oauth2":[]}],"description":"Delete supervisor owner","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data to save\\update","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Owner"}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Owners/GetOwners":{"get":{"security":[{"oauth2":[]}],"description":"Returns a list of supervisor owners","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"where","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"string"}},{"in":"query","name":"orderBy","schema":{"type":"string"}},{"in":"query","name":"ascending","schema":{"type":"string"}}],"responses":{"200":{"description":"List of 3CadLite users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/OwnerLogged/GetInfo":{"get":{"security":[{"oauth2":[]}],"description":"Returns mOwnerLogged schema","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"List of 3CadLite users","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerLogged"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Catalog/GetModules":{"get":{"security":[{"oauth2":[]}],"description":"Returns a json list of supervisor available modules for the specified catalog","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"json list of available modules with description for the specified catalog","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatModules"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Catalog/GetTotalUsers":{"get":{"security":[{"oauth2":[]}],"description":"Returns a json list of 3cadlite users activations status","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"json list of 3cadlite users activations status","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatTotal"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Catalog/GetDisCompanyShipping":{"get":{"security":[{"oauth2":[]}],"description":"Returns a json list of option","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"json list of options","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisCompanyShipping"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/CatalogRead/GetTable":{"get":{"security":[{"oauth2":[]}],"description":"Returns the content of a table in catalog (eg. table TABELLE, ARTICOLI,...)","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"tablename","schema":{"type":"string"},"required":true},{"in":"query","name":"fields","schema":{"type":"string"}},{"in":"query","name":"where","schema":{"type":"string"}},{"in":"query","name":"limit","schema":{"type":"string"}},{"in":"query","name":"page","schema":{"type":"string"}},{"in":"query","name":"orderBy","schema":{"type":"string"}},{"in":"query","name":"ascending","schema":{"type":"string"}},{"in":"query","name":"isdbpro","description":"if \"false\" query on Promo db, if \"true\" query on Catalogue db","schema":{"type":"boolean","default":true}}],"responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataTable"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Settings/SetEmailNotifActivations":{"post":{"security":[{"oauth2":[]}],"description":"Insert or update the email for activations requests","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"string","example":"test1@domain.it,test2@domain.it"}}}},"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"boolean"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Settings/GetEmailNotifActivations":{"get":{"security":[{"oauth2":[]}],"description":"Returns a string of email","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"OK","content":{"text/plain":{"schema":{"type":"string","example":"test1@domain.it,test2@domain.it"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Settings/GetUserManual":{"get":{"security":[{"oauth2":[]}],"description":"create a base64 stream containing user manual","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"nType","required":true,"description":"Tipo di manuale utente:\n• 1 = Supervisor  \n• 2 = Promo\n• 3 = ChangeLog\n","schema":{"type":"integer","enum":[1,2,3]}}],"responses":{"200":{"description":"ok","content":{"application/file":{"schema":{"type":"string","format":"base64"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Updates/Get":{"get":{"security":[{"oauth2":[]}],"description":"get a list of agg and setup","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Return a json object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/mUpdates"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Updates/Del":{"post":{"security":[{"oauth2":[]}],"description":"delete setup and agg in the list","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data of file to delete","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mUpdate"}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Updates/Publish":{"post":{"security":[{"oauth2":[]}],"description":"list of file to publish","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data of file to dpublishelete","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mUpdate"}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Updates/Download":{"post":{"security":[{"oauth2":[]}],"description":"create a base64 stream containing setup and agg requested","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true}],"requestBody":{"description":"json data of file to download","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/mUpdate"}}}},"responses":{"200":{"description":"ok","content":{"application/file":{"schema":{"type":"string","format":"base64"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/UpdatesBcp/Get":{"get":{"security":[{"oauth2":[]}],"description":"get a list of catalog and bak file","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"catalog","schema":{"type":"string"}}],"responses":{"200":{"description":"Return a json object","content":{"application/json":{"schema":{"$ref":"#/components/schemas/mUpdatesBcp"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/UpdatesBcp/Del":{"post":{"security":[{"oauth2":[]}],"description":"delete a catalog version","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"catalog","schema":{"type":"string"}},{"in":"query","name":"version","schema":{"type":"string"}},{"in":"query","name":"guid","schema":{"type":"string"}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/UpdatesBcp/Create":{"get":{"security":[{"oauth2":[]}],"description":"get a list of catalog and bak file","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"catalog","schema":{"type":"string"}},{"in":"query","name":"version","schema":{"type":"string"}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/UpdatesBcp/Restore":{"post":{"security":[{"oauth2":[]}],"description":"copy bcp files and restore data","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"catalog","schema":{"type":"string"}},{"in":"query","name":"version","schema":{"type":"string"}},{"in":"query","name":"guid","schema":{"type":"string"}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/UpdatesBcp/Undo":{"post":{"security":[{"oauth2":[]}],"description":"undo deploy or restore operation","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"catalog","schema":{"type":"string"}},{"in":"query","name":"version","schema":{"type":"string"}},{"in":"query","name":"guid","schema":{"type":"string"}},{"in":"query","name":"status","schema":{"type":"integer","enum":[0,5,10],"description":"* 0 - Empty  * 5 - End Deploy * 10 - Error\n"}}],"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Stats/Invoice":{"get":{"security":[{"oauth2":[]}],"description":"get the progname points for the invoice","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"query","name":"ddate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}}],"responses":{"200":{"description":"Return a list of mInvoice class","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mInvoice"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Stats/PointsMonth":{"get":{"security":[{"oauth2":[]}],"description":"get the progname points per month","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}},{"in":"query","name":"toDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}}],"responses":{"200":{"description":"get the progname points per month","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mPointsMonth"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Stats/PointsUser":{"get":{"security":[{"oauth2":[]}],"description":"get the user points per month","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"},"required":true},{"in":"query","name":"toDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}}],"responses":{"200":{"description":"get the user points per month","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mPointsUser"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Stats/PointsUserDetail":{"get":{"security":[{"oauth2":[]}],"description":"get the user points detail with modules","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"ddate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"},"required":true},{"in":"query","description":"export video or base64 json\\csv","name":"expType","schema":{"type":"integer","enum":[0,1,2],"description":"* 0 - Video * 1 - Export json * 2 - Export csv\n"}}],"responses":{"200":{"description":"get the user points detail with modules","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mPointsUserDetail"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Stats/UsersExport":{"get":{"security":[{"oauth2":[]}],"description":"get a list of users data","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}},{"in":"query","name":"toDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}},{"in":"query","description":"export video or base64 json\\csv","name":"expType","schema":{"type":"integer","enum":[0,1,2],"description":"* 0 - Video * 1 - Export json * 2 - Export csv\n"}}],"responses":{"200":{"description":"get the user points per month","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mUsersExport"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Stats/DashboardOrders":{"get":{"security":[{"oauth2":[]}],"description":"orders and quotes count and total amount","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}},{"in":"query","name":"toDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}}],"responses":{"200":{"description":"orders and quotes count and total amount","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mDashboardOrders"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Stats/DashboardOrdersMY":{"get":{"security":[{"oauth2":[]}],"description":"orders and quotes count and total amount group by month\\year","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}},{"in":"query","name":"toDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}}],"responses":{"200":{"description":"orders and quotes count and total amount group by month\\year","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mDashboardOrdersMY"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Helper/GetFileAll":{"get":{"security":[{"oauth2":[]}],"description":"Returns the list of pdf files of documentation","responses":{"200":{"description":"Success - Returns a list of files","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mHelper"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Helper/GetFile":{"get":{"security":[{"oauth2":[]}],"description":"Returns pdf files documentation requested","parameters":[{"in":"header","name":"cod","schema":{"type":"string"},"required":true},{"in":"header","name":"lang","schema":{"type":"string"},"required":true}],"responses":{"200":{"description":"Success - Returns the requested file","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Helper/Delete":{"post":{"security":[{"oauth2":[]}],"description":"Delete pdf files","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mHelper"}}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/Helper/UploadFiles":{"post":{"security":[{"oauth2":[]}],"description":"Upload pdf files","parameters":[{"in":"header","name":"cod","schema":{"type":"string"},"required":true},{"in":"header","name":"lang","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"filesPdf":{"type":"array","items":{"type":"string","format":"binary"},"description":"List of pdf file to load"}}}}}},"responses":{"200":{"description":"ok","content":{"application/json":{"schema":{"type":"object","properties":{"result":{"type":"integer","example":1}}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/LicExpiry/Get":{"get":{"security":[{"oauth2":[]}],"description":"Returns a list of users","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true},{"in":"query","name":"fromDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}},{"in":"query","name":"toDate","schema":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"}}],"responses":{"200":{"description":"Success - Returns a list of files","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mLicExpiry"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/LicExpiry/ResetExpiryAlert":{"post":{"security":[{"oauth2":[]}],"description":"Delete pdf files","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mLicExpiry"}}}}},"responses":{"200":{"description":"Success - Returns a list of files","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mLicExpiryResponse"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/LicExpiry/ForceExpiryAlert":{"post":{"security":[{"oauth2":[]}],"description":"Delete pdf files","parameters":[{"in":"header","name":"serverid","schema":{"type":"integer"},"required":true},{"in":"header","name":"progname","schema":{"type":"string"},"required":true},{"in":"header","name":"catalog","schema":{"type":"string"},"required":true}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mLicExpiry"}}}}},"responses":{"200":{"description":"Success - Returns a list of files","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/mLicExpiryResponse"}}}}},"409":{"description":"Function error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Generic error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"securitySchemes":{"oauth2":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ErrorResponse":{"type":"object","properties":{"start_time":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"},"end_time":{"type":"string","format":"date-time","example":"2021-01-01T12:00:00"},"time_zone":{"type":"string","example":"America/Los_Angeles"},"mime_type":{"type":"string","example":"application/json"},"internal_error":{"type":"integer","example":0},"description":{"type":"string","example":"La risorsa specificata non è stata trovata"}}},"AuthorizationServerError":{"type":"object","required":["error"],"properties":{"error":{"type":"string","enum":["invalid_request","invalid_client","invalid_grat","unauthorized_client","unsupported_grant_type","invalid_scope"],"example":"unauthorized_client"},"error_description":{"type":"string","example":"the password is invalid"},"error_uri":{"type":"string","example":"http://error.dau.it/errortoken"}}},"LoginResponse":{"required":["email","access_token","refresh_token"],"type":"object","properties":{"email":{"type":"string","example":"info@test.com"},"access_token":{"type":"string","example":"A89nvs9Af0ikds0ls"},"refresh_token":{"type":"string","example":"9dfKM9fns0nsfyS"},"controlpanel":{"type":"integer","example":"0 or 1"},"prognames":{"type":"array","items":{"$ref":"#/components/schemas/Prognames"}}}},"DataTable":{"type":"object","required":["data","count","fields"],"properties":{"data":{"type":"array","items":{"type":"object"}},"count":{"type":"integer","example":10},"fields":{"type":"array","items":{"type":"string","description":"Column Names"}}}},"CatModules":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object"}}}},"CatTotal":{"type":"object","required":["data"],"properties":{"data":{"type":"array","items":{"type":"object"}}}},"User":{"type":"object","required":["userid"],"properties":{"userid":{"type":"integer"},"email":{"type":"string"},"lang":{"type":"string"},"progname":{"type":"string"},"creationdate":{"type":"string","format":"date-time"},"hostip":{"type":"string"},"info":{"type":"string"},"companyname":{"type":"string"},"address":{"type":"string"},"postalcode":{"type":"string"},"town":{"type":"string"},"county":{"type":"string"},"tel":{"type":"string"},"fax":{"type":"string"},"web":{"type":"string"},"emailnotification":{"type":"string"},"ecadlog":{"type":"string"},"country":{"type":"string"},"codshop":{"type":"string"},"emailnotificationage":{"type":"string"},"userinfo":{"type":"object","example":"#/components/schemas/UserInfo"}}},"UserInfo":{"type":"object","required":["userid","catalog"],"properties":{"userid":{"type":"integer"},"catalog":{"type":"string"},"idgroup":{"type":"string"},"codcli":{"type":"string"},"pricelist":{"type":"string"},"enabled":{"type":"integer"},"coeff":{"type":"number","format":"double"},"lang":{"type":"integer"},"agent":{"type":"string"},"modules":{"type":"string"},"companyuser":{"type":"integer"},"headerhtml":{"type":"string"},"modelshtml":{"type":"string"},"discompanyshipping":{"type":"integer"},"expirydate":{"type":"string","format":"date-time"},"otherrecipients":{"type":"string"},"oshop":{"type":"string","description":"vecchia gestione shop"},"oshoptype":{"type":"string","description":"vecchia gestione shop"},"modulesdef":{"type":"string","description":"stringa 01001... per evidenziare i moduli attivi di default"}}},"UserInfoUpdate":{"type":"object","required":["catalog"],"properties":{"catalog":{"type":"string"},"enabled":{"type":"integer"},"modules":{"type":"string"},"expirydate":{"type":"string","format":"date-time"}}},"Owner":{"type":"object","required":["owner","progname"],"properties":{"owner":{"type":"string"},"progname":{"type":"string"},"isadmin":{"type":"integer"},"lang":{"type":"string"},"abilitations":{"type":"array","items":{"$ref":"#/components/schemas/OwnerAbilitations"}}}},"OwnerAbilitations":{"type":"object","required":["catalog","enabled"],"properties":{"catalog":{"type":"string"},"enabled":{"type":"integer"}}},"OwnerLogged":{"type":"object","required":["email","progname"],"properties":{"email":{"type":"string"},"progname":{"type":"string"},"idrole":{"type":"integer"},"serverid":{"type":"integer"},"isadmin":{"type":"integer"},"lang":{"type":"string"},"catalogs":{"type":"array","items":{"type":"string"}},"abilitations":{"type":"array","items":{"$ref":"#/components/schemas/OwnerAbilitations"}}}},"Shop":{"type":"object","required":["codshop","progname"],"properties":{"codshop":{"type":"string"},"progname":{"type":"string"},"shoptype":{"type":"string"},"pricelist":{"type":"string"},"coeff":{"type":"number","format":"double"},"coeffAssigned":{"type":"number","format":"double"},"lang":{"type":"string"},"agent":{"type":"string"},"headerhtm":{"type":"string"},"modelshtm":{"type":"string"},"discompanyshipping":{"type":"integer"},"expirydate":{"type":"string","format":"date-time"},"idgroup":{"type":"string"},"otherrecipients":{"type":"string"},"companyname":{"type":"string"},"address":{"type":"string"},"postalcode":{"type":"string"},"town":{"type":"string"},"county":{"type":"string"},"tel":{"type":"string"},"fax":{"type":"string"},"country":{"type":"string"}}},"DisCompanyShipping":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}}}},"Prognames":{"type":"object","properties":{"serverId":{"type":"integer"},"serverDes":{"type":"string"},"progname":{"type":"string"},"prognameMod":{"type":"array","items":{"$ref":"#/components/schemas/PrognameMod"}}}},"PrognameMod":{"type":"object","properties":{"cod":{"type":"string"},"des":{"type":"string"},"enabled":{"type":"integer"}}},"mUpdates":{"description":"Array list of mUpdate","type":"object","required":["progname","agg"],"properties":{"progname":{"type":"string"},"agg":{"type":"object","example":"#/components/schemas/mUpdate"}}},"mUpdate":{"description":"Array list of mUpdate","type":"object","required":["foldertype","name"],"properties":{"foldertype":{"type":"integer","enum":[1,2],"description":"* 1 - Public folder * 2 - Private folder\n"},"name":{"type":"string"},"ext":{"type":"string"},"dimensions":{"type":"number","format":"double"},"lastmod":{"type":"string","format":"date-time"},"mandatory":{"type":"string","format":"date-time"},"publishable":{"type":"integer"}}},"mUpdatesBcp":{"description":"Array list of mUpdatesBcp","type":"object","required":["catalog","lastuploadcat","lastuploaddb","versions"],"properties":{"catalog":{"type":"string"},"lastuploadcat":{"type":"string","format":"date-time"},"lastuploaddb":{"type":"string","format":"date-time"},"versions":{"type":"object","example":"#/components/schemas/mVersionsBcp"}}},"mVersionsBcp":{"description":"Array list of mVersionsBcp","type":"object","required":["name","guid","status","startdate","enddate","isonline","files"],"properties":{"name":{"type":"string"},"guid":{"type":"string"},"startdate":{"type":"string","format":"date-time"},"enddate":{"type":"string","format":"date-time"},"isonline":{"type":"integer"},"status":{"type":"integer","enum":[0,1,2,3,4,5,6,7,8,9,10],"description":"* 0 - Empty * 1 - Database Backup * 2 - Catalog Backup * 3 - Catalog Zip  * 4 - Start Deploy * 5 - End Deploy * 6 - Catalog Restore * 7 - Database Restore * 8 - Zip Restore * 9 - Published * 10 - Error\n"},"publishdate":{"type":"string","format":"date-time"},"lognote":{"type":"string"}}},"mUpdateBcp":{"description":"Array list of mUpdateBcp","type":"object","required":["name"],"properties":{"name":{"type":"string"},"ext":{"type":"string"},"dimensions":{"type":"number","format":"double"},"lastmod":{"type":"string","format":"date-time"}}},"mInvoice":{"description":"Array list of points for invoice","type":"object","properties":{"points":{"type":"number","format":"double"},"unitamount":{"type":"number","format":"double"},"totalamount":{"type":"number","format":"double"},"vtype":{"type":"number","format":"double"},"vmodule":{"type":"number","format":"double"},"vdes":{"type":"string"}}},"mPointsMonth":{"description":"Array list of points","type":"object","properties":{"vyear":{"type":"integer"},"vmonth":{"type":"integer"},"points":{"type":"number","format":"double"}}},"mPointsUser":{"description":"Array list of points","type":"object","properties":{"userid":{"type":"integer"},"email":{"type":"string"},"catalog":{"type":"string"},"clientcode":{"type":"string"},"pointsmonth":{"type":"array","items":{"$ref":"#/components/schemas/mPointsMonth"}}}},"mUsersExport":{"description":"users data","type":"object","properties":{"userid":{"type":"integer"},"email":{"type":"string"},"activationcode":{"type":"string"},"clientcode":{"type":"string"},"companyname":{"type":"string"},"tel":{"type":"string"},"agent":{"type":"string"},"enabled":{"type":"integer"},"pricelist":{"type":"string"},"modelshtm":{"type":"string"},"orders":{"type":"integer"},"quotes":{"type":"integer"},"lang":{"type":"integer"},"groupid":{"type":"string"},"lastorder":{"type":"string","format":"date-time"},"lastquote":{"type":"string","format":"date-time"},"expirydate":{"type":"string","format":"date-time"},"lastactivation":{"type":"string","format":"date-time"},"lastlogin":{"type":"string","format":"date-time"},"totallogin":{"type":"integer"},"disableshipping":{"type":"string"},"otherdest":{"type":"string"},"maxnumriv":{"type":"integer"},"firstactivation":{"type":"string","format":"date-time"},"notes":{"type":"string"},"county":{"type":"string"},"coeff":{"type":"number","format":"double"},"appversion":{"type":"string"},"info":{"type":"string"},"pcname":{"type":"string"}}},"mPointsUserDetail":{"description":"users data","type":"object","properties":{"userid":{"type":"integer"},"email":{"type":"string"},"clientcode":{"type":"string"},"companyname":{"type":"string"},"info":{"type":"string"},"pointc":{"type":"number","format":"double"},"v3ds":{"type":"number","format":"double"},"dwg":{"type":"number","format":"double"},"graphiceffects":{"type":"number","format":"double"},"renderredway":{"type":"number","format":"double"},"materials":{"type":"number","format":"double"},"viewdimensions":{"type":"number","format":"double"},"sketchup":{"type":"number","format":"double"},"renderfarmforfait":{"type":"number","format":"double"},"accessories":{"type":"number","format":"double"},"orderstracking":{"type":"number","format":"double"},"shopadmin":{"type":"number","format":"double"},"exportvr":{"type":"number","format":"double"},"galleryexpo":{"type":"number","format":"double"},"webviewer":{"type":"number","format":"double"},"contracts":{"type":"number","format":"double"}}},"mDashboardOrders":{"description":"orders and quotes data","type":"object","properties":{"typedata":{"type":"string","example":"orders, quotes"},"counter":{"type":"integer"},"amount":{"type":"number","format":"double"}}},"mDashboardOrdersMY":{"description":"orders and quotes data","type":"object","properties":{"typedata":{"type":"string","example":"orders, quotes"},"sort":{"type":"integer"},"counter":{"type":"integer"},"amount":{"type":"number","format":"double"},"vmonth":{"type":"integer"},"vyear":{"type":"integer"}}},"mHelper":{"description":"helper class structure","type":"object","properties":{"cod":{"type":"string"},"lang":{"type":"string"},"file":{"type":"string"}}},"mCalcGroup":{"description":"mCalcGroup class structure","type":"object","properties":{"clg":{"type":"string"},"coeff":{"type":"number","format":"double"}}},"mLicExpiry":{"description":"mLicExpiry class structure","type":"object","properties":{"userid":{"type":"integer"},"lang":{"type":"string"},"forceexpirynotice":{"type":"boolean"},"companyName":{"type":"string"},"email":{"type":"string"},"info":{"type":"string"},"expirydate":{"type":"string","format":"date-time"},"expirydatenotice":{"type":"string","format":"date-time"},"notificationemail":{"type":"string"},"emailage":{"type":"string"}}},"mLicExpiryResponse":{"description":"mLicExpiryResponse class structure","type":"object","properties":{"userid":{"type":"string"},"isupdated":{"type":"integer"}}}}}}