Skip to content

Commit

Permalink
Format the application code
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeshLK committed Apr 1, 2024
1 parent 126245e commit 6c3e20e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/online-application-portal/service.bal
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ service ApplicationPortal /portal on new http:Listener(9090) {
}

# Retrieves the list of previously saved insurance applications.
#
#
# + customerId - The filter parameter for customer
# + continuationId - Indicates the starting offset for the API results
# + limit - The maximum number of results to return
# + return - List of applications or an error
resource function get applications(string? customerId = (), string? continuationId = (), string? 'limit = ()) returns insnow:ListApplication|error {
return self.insuranceNow->/applications(
customerId = customerId,
continuationId = continuationId,
customerId = customerId,
continuationId = continuationId,
'limit = 'limit
);
}

# Starts a new QuickQuote or Quote.
#
#
# + quote - The insurance quote
# + requestedTypeCd - The type of the quote, QuickQuote or Quote
# + return - An error or nil
Expand All @@ -56,7 +56,7 @@ service ApplicationPortal /portal on new http:Listener(9090) {
}

# Adds an attachment to a quote or application.
#
#
# + applicationId - System identifier of the application
# + attachment - The attachment
# + return - An error or nil
Expand All @@ -65,7 +65,7 @@ service ApplicationPortal /portal on new http:Listener(9090) {
}

# Converts a quote to an application.
#
#
# + applicationId - System identifier of the application
# + return - An error or nil
resource function post applications/[string applicationId]/convert() returns error? {
Expand Down

0 comments on commit 6c3e20e

Please sign in to comment.