---
# System prepended metadata

title: Sequence Diagram

---

# Scheduler Store Member
```plantuml
@startuml
participant "scheduler" as scheduler
participant "POS" as brc_pos
participant "tools-brc-cansoft-benef" as tools_brc_cansoft_benef
participant "cansoft" as cansoft

scheduler -> brc_pos : GET /admin/v1/member/all
brc_pos --> scheduler : return response
scheduler -> scheduler : get member code and populate into batch
group loop the request per batch : assumption 1 batch, 5 data 
scheduler -> tools_brc_cansoft_benef : POST /api/members/
tools_brc_cansoft_benef -> cansoft : GET /api/Members/{MemberCode}
cansoft --> tools_brc_cansoft_benef : return response
tools_brc_cansoft_benef --> scheduler : return response
end
scheduler -> scheduler : decorated response
scheduler -> brc_pos : [POST / PATCH] Hit endpoint for save data
brc_pos --> scheduler : return response
@enduml