API browser of drgValidator100 COM module


/images/arrow_right.png IValidate::GetService method space
This method has a Restful Webservice representation only!
Method for collecting the service record data of the currently focused service in one call without the necessity to call the appropriate properties of this interface.
 
The counterpart method to add services is IDRGValidator::AddService
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/IValidate/GetService
[JSON input data] pIValidate: longValue,    //interface address
[JSON result data] plID:
pbstrCode:
pbstrName:
pdQuantity:
pdTP:
pdTPValue:
pdDate:
peIgnoreValidate:
plHook:
plLengthOfStay:
peIntervalType:
peBillable:
pdCostWeight:
pdAmount:
pbStatus:
longValue,
"utf8StringValue",
"utf8StringValue",
doubleValue,
doubleValue,
doubleValue,
"stringISODateValue",
longValue,
longValue,
longValue,
longValue,
longValue,
doubleValue,
doubleValue,
booleanValue
 
[HTTP result status] 200 Return status 200 signals a successful method call
204 Return status 204 (noContent) signals that the end of an iteration is reached
>= 400 Return status >= 400 signals an unsuccessful function call. The returned JSON{errorCode: code, errorText:"text"} supplies the error message the same as GetAbortInfo() would do.
space
/images/arrow_right.png Calling argument description
[out] long *plID The internal ID of the currently focused service
[out] BSTR *pbstrCode The code of the currently focused service
[out] BSTR *pbstrName The name of the currently focused service
[out] double *pdQuantity The quantity of the currently focused service
[out] double *pdTP The tax point (TP) of the currently focused service
[out] double *pdTPValue The tax point value (TPV) of the currently focused service
[out] DATE *pdDate The treatment date of the currently focused service
[out] YesNoType *peIgnoreValidate The flag indicating whether the currently focused service was ignored in validation (enNo) or not (enYes).
[out] long *plHook The hook of the currently focused service
[out] long *plLengthOfStay The length of stay used for the currently focused service
[out] IntervalType *peIntervalType The type of interval defined for the currently focused service
[out] YesNoType *peBillable The flag indicating whether the currently focused service is billable (enyes) or not (enNo).
[out] double *pdCostWeight The cost weight used for the currently focused service
[out] double *pdAmount The amount in CHF of the currently focused service calculated as ( Amount = Quantity * TP * TPValue )
[out,retval] VARIANT_BOOL *pbStatus Boolean return status
space