API browser of generalInvoiceResponse500 COM module


/images/arrow_right.png IGeneralInvoiceResponse::GetFirstServiceEx method space
Retrieves the first "extended" service from the list of services, that was modified by the insurance.
 
Please note that several conditions must be true, such that modified services are returned:
  • only tiers mode = enTiersPayant and tiers_payant@eAllowTPModification = enYes
  • only the quantity is changed including setting zero, and only these changed services are returned and documented
  • if services are changed than a balance block holding the paid amount besides the original amounts are returned.

 
VARIANT_FALSE is returned if the end of the service list is reached.
space
/images/arrow_right.png Restful webservice calling syntax
[POST] /baseURL/IGeneralInvoiceResponse/GetFirstServiceEx
[JSON input data] pIGeneralInvoiceResponse: longValue,    //interface address
[JSON result data] pbstrTariffType:
pbstrCode:
pbstrReferenceCode:
pdQuantityOriginal:
pdQuantityModified:
plSessionNumber:
plGroupSize:
pdDateBegin:
pdDateEnd:
pbstrProviderGLN:
pbstrResponsibleGLN:
peSide:
pbstrServiceName:
pdUnitMT:
pdUnitFactorMT:
pdUnitInternalScalingFactorMT:
pdUnitExternalScalingFactorMT:
pdAmountMT:
pdUnitTT:
pdUnitFactorTT:
pdUnitInternalScalingFactorTT:
pdUnitExternalScalingFactorTT:
pdAmountTT:
pdAmountOriginal:
pdAmountModified:
pdVatRate:
pbstrRemark:
pbstrSectionCode:
plServiceAttributes:
peBillingRole:
peMedicalRole:
plID:
pbStatus:
"utf8StringValue",
"utf8StringValue",
"utf8StringValue",
doubleValue,
doubleValue,
longValue,
longValue,
"stringISODateValue",
"stringISODateValue",
"utf8StringValue",
"utf8StringValue",
longValue,
"utf8StringValue",
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
doubleValue,
"utf8StringValue",
"utf8StringValue",
longValue,
longValue,
longValue,
longValue,
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 C/C++ calling syntax
HRESULT GetFirstServiceEx( BSTR
BSTR
BSTR
double
double
long
long
DATE
DATE
BSTR
BSTR
SideType
BSTR
double
double
double
double
double
double
double
double
double
double
double
double
double
BSTR
BSTR
long
BillingRoleType
MedicalRoleType
long
VARIANT_BOOL
*pbstrTariffType,
*pbstrCode,
*pbstrReferenceCode,
*pdQuantityOriginal,
*pdQuantityModified,
*plSessionNumber,
*plGroupSize,
*pdDateBegin,
*pdDateEnd,
*pbstrProviderGLN,
*pbstrResponsibleGLN,
*peSide,
*pbstrServiceName,
*pdUnitMT,
*pdUnitFactorMT,
*pdUnitInternalScalingFactorMT,
*pdUnitExternalScalingFactorMT,
*pdAmountMT,
*pdUnitTT,
*pdUnitFactorTT,
*pdUnitInternalScalingFactorTT,
*pdUnitExternalScalingFactorTT,
*pdAmountTT,
*pdAmountOriginal,
*pdAmountModified,
*pdVatRate,
*pbstrRemark,
*pbstrSectionCode,
*plServiceAttributes,
*peBillingRole,
*peMedicalRole,
*plID,
*pbStatus);
[C/C++ return value] S_OK This value is returned if the function call was successful.
S_FALSE This value is returned if the end of an iteration is reached
E_name This value is returned if the function call was unsuccessful and an error exception was generated. Note that if you are using SmartPointers an exception is thrown under these conditions.
space
/images/arrow_right.png Calling argument description
[out] BSTR *pbstrTariffType
[out] BSTR *pbstrCode
[out] BSTR *pbstrReferenceCode
[out] double *pdQuantityOriginal
[out] double *pdQuantityModified
[out] long *plSessionNumber
[out] long *plGroupSize
[out] DATE *pdDateBegin
[out] DATE *pdDateEnd
[out] BSTR *pbstrProviderGLN
[out] BSTR *pbstrResponsibleGLN
[out] SideType *peSide
[out] BSTR *pbstrServiceName
[out] double *pdUnitMT
[out] double *pdUnitFactorMT
[out] double *pdUnitInternalScalingFactorMT
[out] double *pdUnitExternalScalingFactorMT
[out] double *pdAmountMT
[out] double *pdUnitTT
[out] double *pdUnitFactorTT
[out] double *pdUnitInternalScalingFactorTT
[out] double *pdUnitExternalScalingFactorTT
[out] double *pdAmountTT
[out] double *pdAmountOriginal
[out] double *pdAmountModified
[out] double *pdVatRate
[out] BSTR *pbstrRemark
[out] BSTR *pbstrSectionCode
[out] long *plServiceAttributes
[out] BillingRoleType *peBillingRole
[out] MedicalRoleType *peMedicalRole
[out] long *plID
[out,retval] VARIANT_BOOL *pbStatus
space