GetAvailablePractices
Retrieve a list of practices included into your license through executeAPICall() SageBridge API web-method.
This function also can be called with name(s): getPractices
Call example:
string result = SageBridgeAPI.executeAPICall(
"cf389659-588c-4fd9-ab9e-7c37b438905c", // security token
"GetAvailablePractices",
null, // practice path or Tax ID (not required for this function)
"JSON", // output format (XML or JSON)
null // request parameters (not required for this function)
);
| Request: | No request parameters required for this function. |
| Response: | payload element of APIResponse is a list of Practice elements. |
Possible return values (see APIResponse )
- 0 - Success. Description can be vary per function
- -1 - General error. Description attribute will show more details about an error
- -2 - Function is not supported
- 500 - Invalid credentials provided
- 501 - License is expired
- 502 - License is not active
- 503 - Token is not active or expired
- 550 - Unknow functionName or not subscribed
- 551 - Unknown practice
- 552 - No Subscription found
- 553 - Subscription is inactive or expired
- 600 - Invalid or empty request parameters
- 601 - No valid route found for this subscription
- 602 - Unable to parse request parameters
Notes:
All examples of source code and compiled version of SageBridge API can be found here.
Known Issues:
None
See Also:
APIResponse structure,
API Functions,
API Methods,
API Data