PartnerWeb to CRM API

What do we want

  • Encapsulate common logic in one place
  • Have more strict architecture
  • CRM API hide ProspectiveSaleService and LinkService, it's like partnersGateway to make knowledges limit between subsystems

What do we have now

kak obychno

ProspectiveSale

Service

IPSS

ISecured

PSS

CRM API

PartnerWeb

LinkService

What do we want in future

some magic

CRM Core

CRM API

PartnerWeb

PSCustom

Link

Service

Responsibility of each part

for what it's worth

CRM Core

  • Distribution PS on parters
  • PS lifecycle
  • History
  • Work rules - auth each UI, etc
  • Administration API

CRM Core

Base logic common for all UIs

PS Custom

  • Auth by partners,
  • List actions,
  • Filters,
  • Notifications
  • etc

Custom logic for our Partner UI

(maybe our own PSWeb on ASP.Net Core)

PartnerWeb

PSCustom

How to go there

we cant rewrite all k chertjam

ProspectiveSale

Service

CRM API

PartnerWeb

PS Custom

Start steps

  • PSList must die
  • Try to understand how read PS, design index for PS
  • Implement index, move all select logic on it
  • Create PS Custom ASP.NET application, aggregate custom logic in it
  • Instead managerId use managerCode
  • Move auth from SecuredPSS
  • Use new methods with auth in PS Custom

What do you think about it?

Partner to CRM API

By katty_zee

Partner to CRM API

  • 677