Loading Vendor,Vehicle and Driver Data
Was this helpful?
Was this helpful?
Ways to load Vendor details :
From Api
By FSM Registry
Loading from API :
Steps:
Import this collection -
Change the request url specific to environment.
For Create DSO(URL) :
For Search DSO(URL) :
For Update DSO(URL) :
Login from FSM_ADMINDEV credentials(for sujog-dev) which is having FSM Admin role for all the ulb’s.
Copy the auth token. Paste the auth token in the req. Body “authToken” field.
Request Info (eg. anandapur ulb) for Create DSO :-
Note:
No special characters allowed in Vendor name.
Vehicle Registration number should be unique for every vehicle.
Scenerios for Vendor and Vehicle users: - One Vendor can be linked with two or more vehicles. - One Vehicle is linked with One Vendor. - Two Vendors can’t have same mobile number because vendor is a user and user is stored uniquely in database. - Vendor owner, Vehicle owner and Driver owner can be same or different for One Vehicle.
Hit the url it’ll push the data of vendor.
From FSM Registry :
Add details of Cesspool Operator,Vehicle and Driver from FSM Registry and link Vehicle with Cesspool operator and Driver with Cesspool Operator.
Before pushing the vendor,first add Vehicle in MDMS. Take Vehicle Make, Model and Capacity from in MDMS.