You are on page 1of 4

https://popms-thirdparty-dev.heptagon.

tech/api/v1/user-create

https://popms-thirdparty-dev.heptagon.tech/api/v1/user-deactivation

https://popms-thirdparty-dev.heptagon.tech/api/v1/user-login

https://harbour.heptagon.tech/dev/harbour-web/sso-integration.php?Id={token}

to find out duplicates

select a.email,a.username, a.nickname, a.empid, a.active, c.app_name,a.createdby


from axusers a
left join axuserapps b on a.axusersid=b.axusersid
left join applications c on b.app_name=c.applicationsid
where a.email in (
select email from axusers where email != '#N/A' and email!='' and email is not null
group by email having count(*)>1
)

select a.email,a.username, a.nickname, a.empid, a.active, c.app_name,a.createdby


from axusers a
left join axuserapps b on a.axusersid=b.axusersid
left join applications c on b.app_name=c.applicationsid
where a.email in (
select email from axusers where email != '#N/A' and email!='' and email is not null
group by email having count(*)>1
) and a.active='T'

select * from axusers where username like '%Test%'


select * from axusers where username ='10023613'
select * from wf_usersdetails where employee_id='10023613'
select * from employee where
update axusers set password='25d55ad283aa400af464c76d713c07ad' where
username='10023268'

select * from employee where work_email='aditya.doshi@quesscorp.com'

select * from apitransaction where createdon>'2023-04-13'

select * from apiexchange

update apitransaction set status =0 where serviceid =14

select * from axusers where active ='T'

select * from employee where active='T'

select a.username,a2.app_name from axusers a


join axuserapps a1 on a.axusersid=a1.axusersid
join applications a2 on a1.app_name=a2.applicationsid
where empid is null

select
select a.email,a.username, a.nickname, a.empid, a.active, c.app_name,a.createdby
from axusers a
left join axuserapps b on a.axusersid=b.axusersid
left join applications c on b.app_name=c.applicationsid
where a.email in (
select email from axusers where email != '#N/A' and email!='' and email is not null
group by email having count(*)>1
)and c.app_name='MyContracts' and a.active='T'

select a.email,a.username,a2.app_name from axusers a


join axuserapps a1 on a.axusersid=a1.axusersid
join applications a2 on a1.app_name=a2.applicationsid
where a2.app_name='MyContracts' and a.email in (
select email from axusers group by email having count(*)>1
)

select * from axusers where active ='T' and empid is null and company=0 and mapname
is null
username in (select emp_id from employee where active='T')

select username,nickname,email from axusers


where username in
('10000838','10007271','10020805','16308','2001061416','2001678425','2001678929','2
001770406','2002175530','244683','26170','34934','compliance','Hammid','Jagadish','
Siddhartha','vapttest','venkatanarayana.d@quesscorp.com'
)

select * from axusers where username='10020805'

select a.username,a2.app_name from axusers a


join axuserapps a1 on a.axusersid=a1.axusersid
join applications a2 on a1.app_name=a2.applicationsid
where empid is null

'10000274','10009077','10015195','10021846','10021848','10022297','10023698','10025
474','10026772','10026891','10028343'

select empid,username,active,email from axusers where empid in (select empid from


axusers where empid is not null and empid!='' group by empid having count(*)>1
)

select distinct a.username from axusers a


join axuserapps a1 on a.axusersid=a1.axusersid
join applications a2 on a1.app_name=a2.applicationsid
where a2.app_name='MyContracts' and a.active='T' and a.empid is null and a.empid=''

select * from axusers where username='10000006'

select * from utuserimport where appname='MyContracts' and createdon>'2023-04-15'

select * from utuserimport where createdon>'2023-04-15'


select distinct u.userid from axusers a
join axuserapps a1 on a.axusersid =a1.axusersid
join applications a2 on a1.app_name =a2.applicationsid
join utuserimport u on u.userid =a.username
where u.createdon > '2023-04-15' and u.appname='MyContracts' and a2.app_name
='MyContracts' and a.active ='T'

select distinct * from utuserimport u


left join axusers a on u.userid =a.username
left join axuserapps a1 on a.axusersid =a1.axusersid
left join applications a2 on a1.app_name =a2.applicationsid
where u.createdon >'2023-04-15' and u.appname='MyContracts' and u.userid in select
distinct * from utuserimport u

select distinct u.userid,u.pusername,u.appname,u.email from utuserimport u


left join axusers a on u.userid =a.username
left join axuserapps a1 on a.axusersid =a1.axusersid
left join applications a2 on a1.app_name =a2.applicationsid
where u.createdon >'2023-04-15' and u.appname='MyContracts' and u.userid in
('10000274','10009077','10015195','10021846','10021848','10022297','10023698','1002
5474','10026772','10026891','10028343')

and a2.app_name='MyContracts' and a.active='T'

a.active is null

and u.userid in
('10000274','10009077','10015195','10021846','10021848','10022297','10023698','1002
5474','10026772','10026891','10028343')

and F

and a.active ='T'

and a.active='T'

and u.userid in ('10000274','8076')

select * from applications where app_name='MyContracts'


a.active ='F'

and a2.app_name='MyContracts'

--------------------

select distinct u.userid from utuserimport u


left join axusers a on u.userid =a.username
left join axuserapps a1 on a.axusersid =a1.axusersid
left join applications a2 on a1.app_name =a2.applicationsid
where u.createdon >'2023-04-15' and u.appname='MyContracts'
and a.active is null
and a.active ='F'
and a2.app_name='MyContracts' and a.active='T'
and u.userid in
('10000274','10009077','10015195','10021846','10021848','10022297','10023698','1002
5474','10026772','10026891','10028343')

select distinct a.username,a.nickname,a2.app_name,a.email,a.empid from axusers a


join axuserapps a1 on a.axusersid =a1.axusersid
join applications a2 on a1.app_name =a2.applicationsid
left join utuserimport u on u.userid =a.username
where a2.app_name='MyContracts'and a.active='T' and a.empid is not null and
a.username not in (Select userid from utuserimport where
createdon >'2023-04-15' and
appname='MyContracts')

You might also like