Open CarlyCotton opened 1 month ago
Takeaways: student change last name
multiple supplier/site and address updates from SIMS confirm with CAS re changing last name/sin and multiple supplier numbers for the same person. Can we create new sites/new suppliers?
User Story:
As a Ministry user (Finance team), I want to keep supplier/site information in CAS up to date with the information we have in SIMS. When a student who has a Supplier/Site assigned to them, we need to update the address in CAS if they update their address with us. If we find a matching supplier/site for a new student and the mailing address (line 1) does not perfectly match the one we have in SIMs, we should create a new SITE for that supplier
Acceptance Criteria:
Get Supplier (Last Name and SIN)
Get Supplier Response - Found & Active
https://< webserviceURL >:<port_no>/ords/cas/cfs/supplier/:snum/site
Get Supplier Response - Not Found OR Not Active
Update Existing Supplier Site
When a student updates their address (address line 1, city, postal code, or country) or email address:
https://< webserviceURL >:<port_no>/ords/cas/cfs/supplier/:snum/site/update
:Technical Context
Sample CURL to create
Response:
Business Context Supplier Web Service RESTful Client Onboarding v02_01.pdf Individual Supplier Web Service Field Requirements (All Requests) JAN2023.xlsx
Update Existing Supplier Site
Command 2 { "SupplierNumber":"2002492", "SupplierAddress":[ { "SupplierSiteCode":"001", "AddressLine1":"3350 CLEARBROOK RD", "AddressLine2":"", "AddressLine3":"", "City":"ABBOTSFORD", "Province":"BC", "Country":"CA", "PostalCode":"V2T4T4", "EmailAddress":"abc@xyz.com", "EftAdvicePref":"E" } ] }
Success Response: { "Supplier_Number":"123456789", "Supplier_Site_Code":"001", "CAS-Returned-Messages":"SUCCESS" }
Error Response { "Supplier_Number":"123456789", "Supplier_Site_Code":"001", "CAS-Returned-Messages":"Error Message" }