Skip to content

Return codesΒΆ

Name Description Http response code
AuthenticationFailed Unable to authenticate. 401
Success Indicates processing was succesful. 200
NotFound Indicates one or more values used in parameters have not been found. 200
WrongStatus Indicates a mismatch in status for an operation, e.g. redeem an already redeemed coupon. 200
MandatoryParameterMissing An expected (mandatory) parameter is missing in the request. 400
WrongCancelId Indicates the provided cancel ID is invalid/incorrect. This value is used in the CancelActivateCoupon and CancelRedeemCoupon functions in the Coupon API. 200
InvalidParameterValue A used parameter is invalid. 400
UnderlayingSystemOffline This result is returned if the request could not be relayed internally. This value is used in the Calculate function of the PemCalculation API. 503
InternalError This is an internal status code and will not be returned. In the case of internal error an exception error message will be returned instead. 500
SyntaxError If the provided syntax fails the schema this error will be returned. For instance when an invalid datatype is provided. 400