Problem description
The current implementation of the Number Recycle API has a discrepancy that affects its functionality. The API, as proposed by KDDI and approved in CAMARA, allows a customer to submit a recycle date check and receive a true/false response. However, the implementation should respond with true/false if the number has ever been recycled and provide the date if true. This difference causes a conflict with the tenure use case, making tenure almost redundant.
The Tenure use case would become almost redundant due to the discrepancy in the Number Recycle API response. Currently, the API should respond with "true/false" if the number has been recycled and provide the date if true. However, the current implementation only responds with "true/false" without providing the date. This causes a conflict with the Tenure use case, which also relies on the number recycling information.
If the Number Recycle API provided the recycling date along with the "true/false" response, it would eliminate the need for the Tenure use case to handle this information separately. This way, the Tenure functionality would be simplified, and there would be no redundancy in managing the number recycling information.
Expected behavior
The API should respond with true/false if the number has ever been recycled and provide the date if true.
Alternative solution
Response example
{
reuse* boolean
example: true
true indicates if MSISDN is recycled
is_recycled string
example: 2014-08-31
Returns timestamp of the last time the MSISDN was recycled
}
Additional context
This discrepancy affects the tenure use case and complicates the API's functionality, making it less reliable for customers.
The response would be true if it has ever been recycled. If true, then the recycling date is provided.
The only proposed change is that the customer doesn't submit a date as an input parameter
Problem description
The current implementation of the Number Recycle API has a discrepancy that affects its functionality. The API, as proposed by KDDI and approved in CAMARA, allows a customer to submit a recycle date check and receive a true/false response. However, the implementation should respond with true/false if the number has ever been recycled and provide the date if true. This difference causes a conflict with the tenure use case, making tenure almost redundant.
The Tenure use case would become almost redundant due to the discrepancy in the Number Recycle API response. Currently, the API should respond with "true/false" if the number has been recycled and provide the date if true. However, the current implementation only responds with "true/false" without providing the date. This causes a conflict with the Tenure use case, which also relies on the number recycling information.
If the Number Recycle API provided the recycling date along with the "true/false" response, it would eliminate the need for the Tenure use case to handle this information separately. This way, the Tenure functionality would be simplified, and there would be no redundancy in managing the number recycling information.
Expected behavior
The API should respond with true/false if the number has ever been recycled and provide the date if true.
Alternative solution
Response example
{
reuse* boolean
example: true
true indicates if MSISDN is recycled
}
Additional context
This discrepancy affects the tenure use case and complicates the API's functionality, making it less reliable for customers.
The response would be true if it has ever been recycled. If true, then the recycling date is provided.
The only proposed change is that the customer doesn't submit a date as an input parameter