Retrieve Customer LLD
Review Status: Reviewed
Reviewed By - Srinivasappa
Description:
Retrieve Customer API provides a detailed snapshot of a Customer record based on the below parameters. Any external application who has access to this service can use this, the CMD Portal can use or any other backend service can use it.
Retrieval can happen by using various fields like :
- Customer Code
- Alternate Code and Alternate Code Type (altCodeType) for example, SCV Code, BPMA Code etc.
- Alternate Code, Alternate Code Type (altCodeType) and Country Code (countryCode) if Alternate Code Type is BE Code
Refer High Level Design (HLD) for the flow.
API Contract(OAS):
Refer below document to understand the request/response structure (path for RetrieveCustomer is /customers/)
Service/Sequence Diagram:
Validation Rules:
- Code is a mandatory parameter for Retrieve Customer.
- Code Type and Country are optional parameters.
- If Code Type is 'MODS', then Country Code should be provided (Retrieve by BE Code).
Was this page helpful?