Work continuation

to do

- return school from infrastructure endpoint 

Create a new infrastructure endpoint in business that can take a payload of an array of school_uuids and return the list of schools with those uuids.

- here we need to check the current user is super user or not ?
- code clean and push

- registerUser 

- jwt with token


{

    "Username":"vasanth.6",

    "Password":"Password@123",

    "application_id":"44c5b142-6b05-4d29-98b3-5501ef71db0f",

    "web_site":"WakeNC",

    "roles":[

        "book keeper",

        "teacher"

    ],

    "email":"",

    "is_authorized":"",

    "is_super_user":"",

    "school_id":["",""],

user_id :"" ( guid - old db id )

}


- base url /web_site/page link/ , username , password , district ,



- copy roles


- create school table   - copy [bvc_Manufacturer] and add district id + (SELECT TOP 1000 [bvin]

      ,[DisplayName]

      ,[EmailAddress]

      ,[Address]

      ,[LastUpdated]

      ,[SchoolExternalID]

  FROM [NC183].[dbo].[bvc_Manufacturer])


- create table - user roles - (SELECT TOP 1000 [UserRoleID]

      ,[UserID]

      ,[RoleID]

      ,[ExpiryDate]

  FROM [NC183_PORTAL].[dbo].[UserRoles])

  

- check and add in pgadmin -  SELECT TOP 1000 [UserID]

      ,[Username]

      ,[FirstName]

      ,[LastName]

      ,[IsSuperUser]

      ,[AffiliateId]

      ,[Email]

      ,[DisplayName]

      ,[UpdatePassword]

  FROM [NC183_PORTAL].[dbo].[Users]

  

- mapping table for school id & user id


- add  in user tab 

      ,[UserId] (guid)

  [IsApproved]

      ,[IsLockedOut]

      ,[CreateDate]

      ,[LastLoginDate]

  

SELECT distinct website FROM public.district where database_code = 'CA000'

http://localhost:6100/index.html

http://localhost:6100/infrastructure/service/transactions

Transactions

12020-02-27 18:53:442020-02-27 19:03:31
8adc452f-37ad-4514-af44-24a4c2afab38
8e58b398-9996-4b59-91a7-f7dd2c6c3625
521112020-02-27 19:03:31240311500000001119
22020-02-27 19:03:302020-02-27 14:21:38
45ef8a09-beb6-4ed4-a2a8-cc13bee12ed4
8e58b398-9996-4b59-91a7-f7dd2c6c3625
7312112020-02-27 14:21:38240311500000002129
32020-02-28 0:44:492020-02-28 0:45:10
1b736c3b-0473-454a-9dd6-9cb777f9d98d
8e58b398-9996-4b59-91a7-f7dd2c6c3625
521312020-02-28 0:45:10240311500000003233
42020-02-28 0:45:102020-02-28 0:55:50
35681839-6236-4b4b-845f-5971b684b0e7
8e58b398-9996-4b59-91a7-f7dd2c6c3625
7314212020-02-28 0:55:50240311500000004237

status

1InitializedI
2SubmittedS
3PendingP
4Completed Pending NextCPN
5CompletedC
6Completed With Migration PendingCMP
7Completed With Migration SuccessfulCMS
8Completed With Migration FailedCMF
9ErroredE
10DeferredDF
11CancelledC
12DeletedD
13ProcessingPR

Type
1Credit Card ChargeCCC
2Initial Recurring Credit Card ChargeIRCCC
3Recurring Credit Card ChargeRCCC
4Credit Card AuthorizationCCA
5Cash PaymentCP
6Check PaymentCHP

transaction_source

1Online School PaymentsOSP
2Online School Payments RecurringOSPR
3Online Teacher ReceiptingOTR
4Online School CareOSC
5Online Mobile SwipeOMS
6Edlio Forms PaymentEFP
7Miami FOCUS PaymentMFP
8Pay Now PaymentPNP



















Comments

Popular Posts