0 Operation performed succesfully 
The following APIs expect a JSON containing a token its owner’s userId (“idMittente”). Both are automatically assigned on login. The output will be a JSON wrapped in a single key called “d”, as follows: 

0 Operation performed succesfully 

Every API returns an errCode and an errMsg (brief error description) as output.
Possible errCode values:

 

0 Operation performed succesfully </p><p>-1 Server error -> http status code = 500 </p><p>-2 Application error -> http status code = 404 </p><p>-3 Expired token -> http status code = 401