REST API METHOD
Application Type
Traditional Web
HI!!!

GET method CheckCustomerDocDate:
This method should check the end date of the Document must be the current date and return Boolean. If the document is expired Incorrect, otherwise Correct. You have to figure it out yourself.

what else can I add?

did I do this method right?
AppCommon.oap

Hi,

You need to provide add a validation inside the function and an input parameter so that you you will know which document you have to check. and add exception Handler.

Hi,

Yes mentioned above, add a clear title. add the input to the method for validation and based on result, You can add "GetCustomerDocumentById.List.Current.CustomerDocuments.DocDateEnd<=CurrDate()" to the if condition and assign the result like mentioned below

oml also attached.

Thanks, Aadhavan S

CommonRestsv7.oml

Hi,

You need to provide add a validation inside the function and an input parameter so that you you will know which document you have to check. and add exception Handler.

mvp_badge
MVP

Please use more descriptive titles for your questions, your title does not summerize your question.

Hi,

Yes mentioned above, add a clear title. add the input to the method for validation and based on result, You can add "GetCustomerDocumentById.List.Current.CustomerDocuments.DocDateEnd<=CurrDate()" to the if condition and assign the result like mentioned below

oml also attached.

Thanks, Aadhavan S

CommonRestsv7.oml

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.