[go: up one dir, main page]

0% found this document useful (0 votes)
32 views160 pages

API Specfication 04 04 2024

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1/ 160

No Category

1 User
2 User
3 Assignments
4 Assignments
5 Assignments

6 Assignments
7 Assignments

8 Assignments
9 Assignments

10 Assignments
11 Screening

12 Screening
13 Screening
14 Screening
15 Map
16 Map
17
18 Map
Map

19 Logs

20 Logs
Title

Update User Information


Show User Information
Create a new assingment (CALS Extension
Comp)
Show Assignments List(Get)
Update

Delete
Show Dispatch Assignment List

Accept Assignment
Show Assignment Count(Assigned)

Show Assignment Count(Accepted)


Change Status of Screening(Start)

Insert Screening Log


Update Screening Log
Show Screening List
Show Screening Detail
Show Door Informations
Show Agent Informations that will appear
on the map
Send current locations of Agent
Get current locations of Agent
Get Team Names

Save a history of Channel transfers

Show history of Channel transfers


Description

Update User Informations of CALS Application


Modify each environments user information in Chat App as well (App
SandBox / Product)
Update Profile Photo, App's busy state (Connecting, Not Connected,
Need to develop a way to modify only what you want to modify, wit
all the data in the request params.

App's busy state


Connecting State : After login to Agent App and Go Main Page / Ch
status background -> foreground
Not Connected : Change App status foreground -> background / Fin
Logout : Logout at App
Show User Informations of CALS Application
User Name, User Id, accountCode, Email Address, S3 information of
department, permission, App's busy starte, Login Information of com
Show Assignments List with status(Available/Pending/Approve/Reject
Show Dispatch Assignment List
Must be able to distinguish between Unassigned / Assignment
Need to be able to set date of Request Param

Feature of Assignment Accept


Must store API call times in DB Table (For Calculate TimeStamp - Tim
processing is required on the Back-End)
Show Assigned Count for a specific date
(For show Badge Count)
Need to be able to set date of Request Param

Show Assigned Count for a specific date


(For show Badge Count)
Need to be able to set date of Request Param
Change status of Screening Start / Stop (Completed)
Must store API call times in DB Table (For Calculate TimeStamp - Tim
processing is required on the Back-End)

Submit Screening
Send any informations Agent enter or select to the server
Must store API call times in DB Table (For Calculate TimeStamp - Tim
processing is required on the Back-End)
Show Screening List
Need to be able to set date of Request Param
Show Screening Detail
Show All Informations reported
Show Door's location informations (langitude, longitude, floor, termin
Show Agent At Location / Agents in Route / Available Agents by filte
User Name, Department, S3 Information of Profile Photo, Information
Door(Accepted Door at Assignment), App's busy state, Information o
User, etc…
Send current locations of Agent (If send langitude, longitude, floor, I
table by User)
Get Unique Team Names

Both Push and Email sends need to leave a history to measure usage
Topic, Sended User List, Sended Date & time, etc…
Show History feature is needed because charge fee by usage.
Must be searchable by time period
Target Date

2/21/2024
2/15/2024
2/9/2024

2/9/2024
2/9/2024
2/9/2024

2/9/2024
2/9/2024
2/9/2024
2/12/2024
2/15/2024
2/15/2024
2/21/2024

2/21/2024
API_END_POINT

https://app.restapi.calsplatz.com/A00015/A00015UpdateUserInformation
https://app.restapi.calsplatz.com/A00015/A00015ShowUserInformati
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/InsertData
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/SelectData
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/UpdateData

https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/DeleteData
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/SelectData

https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/UpdateData
https://app.restapi.calsplatz.com/A00015/A00015GetAssignedAssignmentCo

https://app.restapi.calsplatz.com/A00015/A00015GetAcceptedAssignmentCo
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/UpdateData

https://app.restapi.calsplatz.com/A00015/A00015SubmitScreening
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/SelectData
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/SelectData
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/SelectData
https://app.restapi.calsplatz.com/A00015/A00015ShowAgentInformations
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/InsertData
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/SelectData
https://app.restapi.calsplatz.com/CalsExternalApplicationAPI/v2/SelectData

Pending

Pending
Request
{
"userId": "c6175f87aa0311eea0890af218b879ee",
"EMPLOYEE_RID":"02e776fcca3e11eeafe20a57c56cc3cc",
"PUSH_DEVICE_TOKEN":"f6iKWfKxTX-70Knx-
0LPJP:APA91bFgBP_ZDPSaHJebqGm0A28kzPg6EXWKCjmGPtyXL8eeBpxGpPQ
4a6WbdPu8YGQi7svsVsfGgcf6tH4jkrrtpCY4Y_wzQ40hiCNkjMVL-
vLWki1O04EsIT7nyhWyUKkLDfIf3T",
"APP_BUSY_STATUS_CD":"0"
}
{
"userId": "c6175f87aa0311eea0890af218b879ee",
"USR_ID" : "cals_aerosuite_4",
"PLATFORM_TYPE":"MOBILE"
}
{
"busobjectid": "4ac22a65c0bd11eeafe20a57c56cc3cc",
"addobjs": [
{
"ASSIGNMENT_DATE": "2024-04-04",
"START_TIME": "2024-04-04 10:00:00",
"END_TIME": "2024-04-04 11:00:00",
"TEAM_NAME": "9A",
"DOOR_NAME_CD": "13",
"APPROVAL_STATUS_CD": "2",
"AIRPORT_RID": "073ccdbfc19f11eeae13065841a88410",
"SHIFT_NAME_CD": "SHIFT I"
}
],
"timezone": 0
}
{
"busobjectid": "4ac22a65c0bd11eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr": "[ASSIGNMENT_DATE] = '2024-04-04'",
"sortspecs": [],
"sortexpr": "",
"timezone": -25200
}
{
"busobjectid": "4ac22a65c0bd11eeafe20a57c56cc3cc",
"updateobjs": [
{
"SYS_ID": "4b1917b3f1de11eeafe20a57c56cc3cc",
"ASSIGNMENT_DATE": "2024-04-04",
"START_TIME": "2024-04-04 10:00:00",
"END_TIME": "2024-04-04 11:00:00",
"TEAM_NAME": "9A",
"DOOR_NAME_CD": "14",
"APPROVAL_STATUS_CD": "2",
"AIRPORT_RID": "073ccdbfc19f11eeae13065841a88410",
"SHIFT_NAME_CD": "SHIFT I"
}
],
"timezone": 0
}

{
"busobjectid": "4ac22a65c0bd11eeafe20a57c56cc3cc",
"removeids": ["4b1917b3f1de11eeafe20a57c56cc3cc"]
}
{
"busobjectid": "87599eeddbad11eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr": "([ASSIGNMENT_DATE] = '2024-03-29' OR DATE([END_TIME]) =
'2024-03-29') AND [SCREENER_STATUS_CD]= '2' AND
[EMPLOYEE_RID]='db01a929cbce11eeafe20a57c56cc3cc'",
"sortspecs": [],
"sortexpr": "[START_TIME]asc",
"timezone": -25200
}

{
"busobjectid": "87599eeddbad11eeafe20a57c56cc3cc",
"updateobjs": [
{
"SYS_ID":"0b165a8cecf611eeae13065841a88410",
"SCREENER_STATUS_CD": "3"
}
],
"timezone": 0
}
{
"EMPLOYEE_RID":"db01a929cbce11eeafe20a57c56cc3cc",
"ASSIGNMENT_DATE":"2024-02-28"
}

{
"EMPLOYEE_RID":"db01a929cbce11eeafe20a57c56cc3cc",
"ASSIGNMENT_DATE":"2024-02-28"
}
{
"busobjectid": "a877dad4c0bd11eeafe20a57c56cc3cc",
"updateobjs": [
{
"SYS_ID": "073ccdbfc19f11eeae13065841a88410",
"ASSIGNMENT_STATUS_CD": "3"
}
],
"timezone": 0
}

{
"busobjectid": "27045c45e74311eeafe20a57c56cc3cc",
"addobjs": [
{
"SYS_ID":"25a933afcbef11eeafe20a57c56cc3cc",
"FULL_NAME": "android",
"BADGE_NUM":"501",
"AIRPORT_RID":"073ccdbfc19f11eeae13065841a88410",
"BADGE_COLOR_CD":"",
"ACCESS_RAD_CD":"1",
"ACCESS_AOA_CD":"0",
"ACCESS_ATC_CD":"1",
"ACCESS_RCS_CD":"0",
"ACCESS_BCS_CD":"1",
"ACCESS_AF_CD":"0",
"ACCESS_E_CD":"1",
"ACCESS_ASM_CD":"0",

"ASSIGNMENT_DISPATCH_RID":"6ee37cd2dd1a11eeae13065841a88410",

"ASSIGNMENT_SCREENER_RID":"07adef8adf9311eeae13065841a88410",
"SCREENING_MODE_CD":"1",
"INCIDENT_JOB_CATGRY_CD":"1",
{
"busobjectid": "27045c45e74311eeafe20a57c56cc3cc",
"updateobjs": [
{
"SYS_ID":"ec0a2b1ef1e011eeafe20a57c56cc3cc",
"FULL_NAME": "android",
"BADGE_NUM":"801",
"AIRPORT_RID":"073ccdbfc19f11eeae13065841a88410",
"BADGE_COLOR_CD":"",
"ACCESS_RAD_CD":"1",
"ACCESS_AOA_CD":"0",
"ACCESS_ATC_CD":"1",
"ACCESS_RCS_CD":"0",
"ACCESS_BCS_CD":"1",
"ACCESS_AF_CD":"0",
"ACCESS_E_CD":"1",
"ACCESS_ASM_CD":"0",

"ASSIGNMENT_DISPATCH_RID":"6ee37cd2dd1a11eeae13065841a88410",

"ASSIGNMENT_SCREENER_RID":"07adef8adf9311eeae13065841a88410",
"SCREENING_MODE_CD":"1",
"INCIDENT_JOB_CATGRY_CD":"1",
{
"busobjectid": "40122d92d7b611eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr": "[ASSIGNMENT_DATE] = '2024-04-03'",
"sortspecs": [],
"sortexpr": "",
"timezone": -25200
}
{
"busobjectid": "8ed09603cbc211eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr": "[SYS_ID]='1daab961f19211eeafe20a57c56cc3cc'",
"sortspecs": [],
"sortexpr": "",
"timezone": -25200
}
{
"busobjectid": "2d63a327c0bd11eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 0,
"searchspecs": [],
"searchexpr": "[TL_ACC_ID] = 'b5d6d407aa0311eea0890af218b879ee' AND
[TL_APL_ID]= 'b5d0ddadaa0311eea0890af218b879ee'",
"sortspecs": [],
"sortexpr": "",
"timezone": -25200
}
{
}
{
"busobjectid": "7efe03ccc0bd11eeafe20a57c56cc3cc",
"addobjs": [
{
"AIRPORT_RID": "073ccdbfc19f14eeae13065841a88410",
"EMPLOYEE_RID": "db01a929cbce11eeafe20a57c56cc3cc",
"LATITUDE": "35.94454100",
"LONGITUDE": "-119.40723100",
"FLOOR_LEVEL": "10"
}
],
"timezone": 0
}
{
"busobjectid": "7efe03ccc0bd11eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 1,
"searchspecs": [],
"searchexpr": "[EMPLOYEE_RID]='db01a929cbce11eeafe20a57c56cc3cc'",
"sortspecs": [],
"sortexpr": "[SYS_CREATE_DATE]DESC",
"timezone": -25200
}
{
"busobjectid": "30a0d5d7ddf811eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr": [],
"sortspecs": [],
"sortexpr": "",
"timezone": -25200
}
Response
{
"success": true,
"data": [
{
"affectedRows": 1
}
],
"requestID": "b2cfc404-426a-481c-a777-a1b78db7a9e0",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [
{
"EMPLOYEE_RID": "41286396cbb011eeafe20a57c56cc3cc",
"APP_BUSY_STATUS_CD": "2",
"MOBILE_NUM": "",
"PUSH_DEVICE_TOKEN": "egeVl-SjRaax-
ZpqJo18A0:APA91bEB7FcZ4aH5bU1ZMIUPu2lGYkFMM0XcaRYrqgnkskkz3oEH
mEPREOprKp8Oq_0gJUG2_vSma5z0mVCIBJfIDcusFOhWZAePGnA4OTk8rAzH
0SwDomd3nj1WM3fsJ9",
"USER_RID": "c618d2beaa0311eea0890af218b879ee",
"USER_NAME": "AeroSuite User4",
"FULL_NAME": "AeroSuite User4",
"CHAT_APP_SYNC_STATUS_CD": "1",
"DIVISION_CD": "3",
"CA_SYNC_STATUS_CD": "1",
"EMAIL_ID": "cals_aerosuite_4@calsplatz.com",
"CHAT_APP_USER_ID": "",
"PERMISSION_CD": "2",
"IMG_FULL_PATH":
"https://s3.ap-northeast-2.amazonaws.com/app.repo.calsplatz.com/aerosuit
A00015/2024/3/27/41286396cbb011eeafe20a57c56cc3cc/imageUpload/
aero2.png",
{
"success": true,
"data": [],
"requestID": "5e13aa2c-be19-44c8-ab48-7cd12153fb34",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [
{
"AIRPORT_INFO_RID": "2e5e4317cfe711eeae13065841a88410",
"ASSIGNMENT_CODE": "A2024-04-04-10-00",
"ASSIGNMENT_DATE": "2024-04-04",
"START_TIME": "2024-04-04 10:00:00",
"END_TIME": "2024-04-04 11:00:00",
"TEAM_NAME": "9A",
"DOOR_NAME_CD": "13",
"TERMINAL_NAME_CD": "8",
"APPROVAL_STATUS_CD": "2",
"REJECT_COMMENT": "",
"SYS_ID": "4b1917b3f1de11eeafe20a57c56cc3cc",
"SYS_CREATE_BY": "c6139d26aa0311eea0890af218b879ee",
"SYS_CREATE_DATE": "2024-04-04 00:19:14",
"SYS_MODIFY_BY": "c6139d26aa0311eea0890af218b879ee",
"SYS_MODIFY_DATE": "2024-04-04 00:19:14",
"SYS_TYPE": "",
"TL_ACC_ID": "b5d6d407aa0311eea0890af218b879ee",
"SYS_FLAG": "1",
"TL_APL_ID": "b5d0ddadaa0311eea0890af218b879ee",
{
"success": true,
"data": [],
"requestID": "138ad465-e2f4-41a3-847a-b448ab2cc64b",
"error": {
"code": 0,
"type": "",
"message": ""
}
}

{
"success": true,
"data": [],
"requestID": "116bc718-dcb7-4f6f-8aed-d27d6be69eea",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [
{
"ASSIGNMENT_RID": "28575607edbc11eeafe20a57c56cc3cc",
"ASSIGNMENT_DATE": "2024-03-29",
"START_END_TIME": "23:30 - 00:30",
"AIRPORT_INFO_RID": "073ccdbfc19f11eeae13065841a88410",
"START_TIME": "2024-03-29 23:30:00",
"END_TIME": "2024-03-30 00:30:00",
"DOOR_NAME_CD": "22",
"REASSIGNED_TERMINAL_CD": "",
"SCREENER_STATUS_CD": "2",
"SYS_ID": "4d32fd84edbc11eeae13065841a88410",
"SYS_CREATE_BY": "c614f880aa0311eea0890af218b879ee",
"SYS_CREATE_DATE": "2024-03-29 18:05:49",
"SYS_MODIFY_BY": "c6139d26aa0311eea0890af218b879ee",
"SYS_MODIFY_DATE": "2024-03-29 18:51:23",
"SYS_TYPE": "",
"TL_ACC_ID": "b5d6d407aa0311eea0890af218b879ee",
"SYS_FLAG": "1",
"TL_APL_ID": "b5d0ddadaa0311eea0890af218b879ee",
"AIRPORT_RID": "073ccdbfc19f11eeae13065841a88410",
{
"success": true,
"data": [],
"requestID": "d6a88b2e-66ac-4c93-9251-d6e6e6468169",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [
{
"Total_Count": 0
}
],
"requestID": "3b922cec-50ae-4dec-976f-8f0020811cc4",
"error": {
"code": 0,
"type": "",
"message": ""
}
}

{
"success": true,
"data": [
{
"Total_Count": 0
}
],
"requestID": "01e50af6-25c7-4886-8e15-7f9629eea8fc",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [],
"requestID": "46c8de1f-9486-4d9e-9f42-af389c37d04a",
"error": {
"code": 0,
"type": "",
"message": ""
}
}

{
"success": true,
"data": [],
"requestID": "760cbc88-da73-4395-85f8-68e2439646f5",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [],
"requestID": "4fb1555d-7b94-44bb-a3cf-617b600ceaf7",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [
{
"SYS_ID": "1daab961f19211eeafe20a57c56cc3cc",
"START_TIME": "",
"SYS_MODIFY_BY": "c6175f87aa0311eea0890af218b879ee",
"SYS_MODIFY_DATE": "2024-04-03 15:14:01",
"SYS_TYPE": "",
"TL_ACC_ID": "b5d6d407aa0311eea0890af218b879ee",
"SYS_FLAG": "1",
"TL_APL_ID": "b5d0ddadaa0311eea0890af218b879ee",
"ASSIGNMENT_DISPATCH_RID": "d0892240f19111eeae13065841a884
"FULL_NAME": "SUIN TEST 1713",
"ASSIGNMENT_DATE": "2024-04-03",
"SYS_CREATE_DATE": "2024-04-03 08:13:59",
"SYS_CREATE_BY": "c6175f87aa0311eea0890af218b879ee",
"DOOR_NAME": "18",
"ASSIGNMENT_RID": "ca4854edf19111eeafe20a57c56cc3cc"
}
],
"requestID": "aefcc42c-fefe-472b-ae0b-f8bea8189b96",
"error": {
{
"success": true,
"data": [
{
"TEAM_NAME": "1A",
"SCREENER_NAME": "AeroSuite User3",
"IMG_OBJ_KEY":
"aerosuite/A00015/2024/4/3/1daab961f19211eeafe20a57c56cc3cc/imageUp
다운로드파일-15.jpg",
"FULL_NAME": "SUIN TEST 1713",
"BADGE_NUM": "1713",
"IMG_FILE_NAME": "다운로드파일-15.jpg",
"BADGE_COLOR": "2",
"ACCESS_RAD": "0",
"ACCESS_AOA": "0",
"ACCESS_ATC": "1",
"ACCESS_RCS": "1",
"ACCESS_BCS": "1",
"DOOR_NAME": "18",
"ACCESS_AF": "1",
"ASSIGNMENT_CODE": "A2024-04-03-17-15",
"SYS_MODIFY_BY": "c6175f87aa0311eea0890af218b879ee",
{
"success": true,
"data": [
{
"SYS_ID": "073ccdbfc19f11eeae13065841a88410",
"SYS_CREATE_BY": "c614f880aa0311eea0890af218b879ee",
"SYS_CREATE_DATE": "2024-02-02 14:45:26",
"SYS_MODIFY_BY": "c614f880aa0311eea0890af218b879ee",
"SYS_MODIFY_DATE": "2024-02-02 14:45:26",
"SYS_TYPE": "",
"TL_ACC_ID": "b5d6d407aa0311eea0890af218b879ee",
"SYS_FLAG": "1",
"TL_APL_ID": "b5d0ddadaa0311eea0890af218b879ee",
"AIRPORT_RID": "073ccdbfc19f11eeae13065841a88410",
"DOOR_NAME": "1",
"TERMINAL_NAME": "1",
"FLOOR_LEVEL": "2",
"DOOR_REFERENCE": "ACAMS #1-2-TD-B",
"LOCATION": "Departures, Ticketing Level Hallway Adjacent to
Screening",
"DOOR_LATITUDE": "33.94610200",
{
"success": true,
"data": {
"availableAgents": [
{
"USER_NAME": "AeroSuite Admin",
"DIVISION_CD": "3",
"CHAT_APP_USER_ID": "",
"APP_BUSY_STATUS_CD": "0",
"EMPLOYEE_RID": "02e776fcca3e11eeafe20a57c56cc3cc",
"CHAT_APP_SYNC_STATUS_CD": "1",
"IMG_FULL_PATH":
"https://s3.ap-northeast-2.amazonaws.com/app.repo.calsplatz.com/aerosuite/
A00015/2024/3/21/02e776fcca3e11eeafe20a57c56cc3cc/imageUpload/stock-p
close-up-portrait-of-yong-woman-casual-portrait-in-positive-view-big-smile-
beautiful-model-posing-1554086789.jpg",
"IMG_OBJ_KEY":
"aerosuite/A00015/2024/3/21/02e776fcca3e11eeafe20a57c56cc3cc/imageUplo
stock-photo-close-up-portrait-of-yong-woman-casual-portrait-in-positive-view
smile-beautiful-model-posing-1554086789.jpg",
"LATITUDE": null,
{
"success": true,
"data": [],
"requestID": "8950ad8f-2dd3-4d00-a241-411d7a49419a",
"error": {
"code": 0,
"type": "",
"message": ""
}
}
{
"success": true,
"data": [
{
"SYS_ID": "00418d20ed7f11eeafe20a57c56cc3cc",
"SYS_CREATE_BY": "c6139d26aa0311eea0890af218b879ee",
"SYS_CREATE_DATE": "2024-03-29 10:47:01",
"SYS_MODIFY_BY": "c6139d26aa0311eea0890af218b879ee",
"SYS_MODIFY_DATE": "2024-03-29 10:47:01",
"SYS_TYPE": "",
"TL_ACC_ID": "b5d6d407aa0311eea0890af218b879ee",
"SYS_FLAG": "1",
"TL_APL_ID": "b5d0ddadaa0311eea0890af218b879ee",
"AIRPORT_RID": "073ccdbfc19f11eeae13065841a88410",
"EMPLOYEE_RID": "db01a929cbce11eeafe20a57c56cc3cc",
"LATITUDE": "37.52380080",
"LONGITUDE": "126.92690510",
"FLOOR_LEVEL": "1"
}
],
"requestID": "34eb2b63-5bf5-4927-b9de-56db8aee44f2",
{
"success": true,
"data": [
{
"TEAM_NAME": "2C",
"SYS_ID": "00f1ac97edb111eeafe20a57c56cc3cc",
"SYS_CREATE_BY": "c6139d26aa0311eea0890af218b879ee",
"SYS_CREATE_DATE": "2024-03-29 16:44:57",
"SYS_MODIFY_BY": "c6139d26aa0311eea0890af218b879ee",
"SYS_MODIFY_DATE": "2024-03-29 16:44:57",
"SYS_TYPE": "",
"TL_ACC_ID": "b5d6d407aa0311eea0890af218b879ee",
"SYS_FLAG": "1",
"TL_APL_ID": "b5d0ddadaa0311eea0890af218b879ee"
},
{
"TEAM_NAME": "3A",
"SYS_ID": "01bf64d1edb811eeafe20a57c56cc3cc",
"SYS_CREATE_BY": "c50f8a27edb411eeafe20a57c56cc3cc",
"SYS_CREATE_DATE": "2024-03-29 17:35:05",
"SYS_MODIFY_BY": "c50f8a27edb411eeafe20a57c56cc3cc",
"APP_BUSY_STATUS_CD": "CONNECTING" --> 0
/"NOT CONNECTED" --> 1 /"LOGOUT" --> 2,
"EMPLOYEE_RID":Employee SYS_ID
"PUSH_DEVICE_TOKEN": Device Token for Notifications
"EMPLOYEE_RID": User's SYS_ID in T_EMPLOYEE
"APP_BUSY_STATUS_CD": "CONNECTING" --> 0
/"NOT CONNECTED" --> 1 /"LOGOUT" --> 2,
"MOBILE_NUM": User Mobile Num,
"PUSH_DEVICE_TOKEN": User Device token for push notification,
"USER_RID": Employee SYS_ID,
"USER_NAME": User Name,
"FULL_NAME": User Full Name,
"CHAT_APP_SYNC_STATUS_CD": "NO" --> 0 / "YES" --> 1,
"DIVISION_CD": Department to which agent belongs to. Use DEP_CD ("APD"-
>2 /"LAWA" --> 3/ "TBITEC" --> 4/ "JMA SG" --> 5),
"CA_SYNC_STATUS_CD": "NO" --> 0 / "YES" --> 1,
"EMAIL_ID": User Email Id,
"CHAT_APP_USER_ID": "",
"PERMISSION_CD": "Supervisor"--> 1/ "Screener" -> 2
"COMET_CHAT_AUTH_TOKEN": "Token Generated for particular user",
"IMG_FULL_PATH": User Profile Photo Path,
"PERMISSION": "Supervisor"--> 1/ "Screener" -> 2
"IMG_OBJ_KEY": Object key in qt_obj_img,
"AIRPORT_RID": Airport RID
"AIRPORT_NAME": Airport Name,
"TL_APL_ID": Application Id,
"TL_ACC_ID": Account Id,
"AIRPORT_INFO_RID": Respective Airport Info Rid,
"ASSIGNMENT_CODE": Assignment Code,
"ASSIGNMENT_DATE": Assignment Creation Date,
"START_TIME": Assignment Start Time,
"END_TIME": Assignment End Time,
"TEAM_NAME": Team associated to assignment,
"DOOR_NAME_CD": Assignmnet Door
"TERMINAL_NAME_CD": Assignment Terminal,
"APPROVAL_STATUS_CD": 1-Available 2-Pending 3-Approve 4-Reject,
"REJECT_COMMENT": Reason if Assignment got rejected,
"AIRPORT_RID": Airport Rid,
"SHIFT_NAME": "",
"ASSIGNMENT_DATE_FORMAT": "03-26-2024",
"END_TIME_FORMAT": "03-26-2024 13:30:00",
"START_TIME_FORMAT": "03-26-2024 13:00:00"
"REASSIGNED_DOOR_CD": New door due to deviation,
"SCREENER_STATUS_CD": 1 = Assigned,2 = Accepted, 3 = Started, 4 = C
"AIRPORT_RID": Respective Airport RID ,
"AIRPORT_INFO_RID": Airport Info Rid for particular door and termina
"ASSIGNMENT_CODE": Created Assignment Code,
"ASSIGNMENT_DATE": Date of the assignment,
"START_END_TIME": Duration of the assignment,
"TEAM_NAME": Team for the assignment,
"DOOR_NAME_CD": Door for the assignment,
"TERMINAL_NAME_CD": Terminal name for assignment
The value for assignment date should be today date,
"EMPLOYEE_RID":- User RID,
"ASSIGNMENT_DISPATCH_RID": Dispatch Assignment RID
"ASSIGNMENT_RID":RID of the Particular Assignment
"START_TIME": Start time of Assignment,
"END_TIME":End Time of Assignment
"REASSIGNED_TERMINAL_CD": Reassigned Terminal Code

SCREENER_STATUS_CD IS THE FIELD USED FOR CONDITION AND ITS VALUE O


Total Count: Count of the Assignments Assigned to the screener for that date

Total Count: Count of the Assignments Accepted by the screener for that date
ASSIGNMENT_STATUS_CD IS THE FIELD USED FOR CONDITION AND ITS VALU
Assigned,2 = Accepted, 3 = Started, 4 = Completed
"ASSIGNMENT_DISPATCH_RID": Dispatched Assignment Rid,
"FULL_NAME": "Name of the person screened",
"ASSIGNMENT_DATE": "Date when assignment got created",
"DOOR_NAME": "Assignment Door",
"ASSIGNMENT_RID": "Imported Assignment Rid"
"TEAM_NAME": Team which is doing the assignment
"SCREENER_NAME": Screener Name,
"IMG_OBJ_KEY": Obj Key in qt_obj_img,
"FULL_NAME": Image Full Name,
"BADGE_NUM": "1713",
"IMG_FILE_NAME": Image File Name,
"BADGE_COLOR": "2",
"ACCESS_RAD": "0",
"ACCESS_AOA": "0",
"ACCESS_ATC": "1",
"ACCESS_RCS": "1",
"ACCESS_BCS": "1",
"DOOR_NAME": "18",
"ACCESS_AF": "1",
"ASSIGNMENT_CODE": "A2024-04-03-17-15",
"AIRPORT_RID": AIRPORT_RID,
"ASSIGNMENT_DISPATCH_RID":ASSIGNMENT_DISPATCH_RID,
"ASSIGNMENT_SCREENER_RID": ASSIGNMENT_SCREENER_RID,
"SCREENER_SR_NO": "1",
"SCREENING_MODE_CD": "1",
"INCIDENT_JOB_CATGRY_CD": "",
"INCIDENT_FLAG": "0",
"INCIDENT_PMRY_CATGRY_CD": "",
"AIRPORT_RID": Respective Airport Id,
"DOOR_NAME": "Airport Door Name",
"TERMINAL_NAME": "Airport Terminal Name",
"FLOOR_LEVEL": "Floor Level",
"DOOR_REFERENCE": "ACAMS #1-2-TD-B",
"LOCATION": "Departures, Ticketing Level Hallway Adjacent to Screeni
"DOOR_LATITUDE": "33.94610200",
"DOOR_LONGITUDE": "-118.40038200"
"SCREENER_ID":SYS_ID of T_SCREENER
"USER_NAME": "AeroSuite User2",
"DIVISION_CD": Department to which agent belongs to. (1:APD,2:G2,3:LAWA
SG),
"IMG_FULL_PATH": User Profile Photo URL
"DOOR_NAME": Door Name,
"TERMINAL_NAME": Terminal Nmae,
"FLOOR_LEVEL": Floor Level, "REASSIGNED_DOOR": New door due to devia

"CA_SYNC_STATUS": "",
"CHAT_APP_USER_ID": "",
"APP_BUSY_STATUS_CD": "" ,
"SCREENER_STATUS_CD": THIS IS THE FIELD USED FOR CONDITION AND ITS V
Assigned,2 = Accepted, 3 = Started, 4 = Completed
EMPLOYEE_RID: Employees Id
"CHAT_APP_SYNC_STATUS_CD": "1-> Yest, 0-> No
"IMG_FULL_PATH": Image Full Path,
"IMG_OBJ_KEY": Image Obj key in qt_obj_img,
"LATITUDE":LATITUDE
"LONGITUDE": "LONGITUDE
"ASSIGNMENT_DISPATCH_ID":ASSIGNMENT_DISPATCH_ID
"ASSIGNMENT_ID": "ASSIGNMENT_ID,
"ASSIGNMENT_DATE":ASSIGNMENT_DATE,
"AIRPORT_RID": Airport Rid,
"EMPLOYEE_RID": Employee Rid,
"LATITUDE": Screener Latitude,
"LONGITUDE": Screener Longitude,
"FLOOR_LEVEL": Floor Level
System Fields
TEAM_NAME: All the unique team names assigned assignments
BO NAME: AR ASSIGNMENT BO
BO NAME: AR ASSIGNMENT BO
BO NAME: AR ASSIGNMENT BO

BO NAME: AR ASSIGNMENT BO
BO NAME: SCREENER_DISPATCH_ASSIGNMENT_LIST

BO NAME:AR ASSIGNMENT DISPATCH BO


BO NAME:AR ASSIGNMENT DISPATCH BO
BO NAME:AR SCREENING LIST BO
BO NAME:AR SCREENING LOG BO
BO NAME:AR SCREENER LOCATION BO
BO NAME:AR SCREENER LOCATION BO
VW_GET_TEAM_NAMES_BO
No Category Title

0 Default Basic description of Mobile for Agent

1 User Update User Information


2 User Show User Information

3 Agents Show Agents List

4 Assignments Show Assignments List(Get)

5 Assignments Show Dispatch Assignment List

6 Assignments Accept Assignment


7 Assignments Show Assignment Count(Assigned)

8 Assignments Show Assignment Count(Accepted)

9 Screening Change Status of Screening(Start)

10 Screening Submit Screening

11 Screening Show Screening List

12 Screening Show Screening Detail

13 Map Show Door Informations


14 Map Send current locations of Agent
Question

When the Agent logs in from the mobile app, it will get the Cognito credentials via the OPEN API.
Then we call the Show User Information API to get basic information.
If need the logged in user's information at Request Params for each API, Show User Information API need to respons
all of that.
And Mobile App does not need Meta Data.
So We don't know information of MetaData.
We will need to get the information that will be used in the Request Param from the Response on the previous
screen.

1. How can I get EMPLOYEE_RID?


2. What is the FILE_NAME?
3. What is the FULL_PATH?
4. Which params are required params?
5. We can update information one by one, or more than one, how do we pass parameters per each case?
6. How to update App's busy state?
7. CometChat has its own status. Then, CHAT_APP_CONNECTION_STATUS is the App's busy state?
1. Which params are required params?
2. I only want to get the logged in user information, how can I do that?
3. Please give me a Business Object Name

1. Which params are required params?


2. I need to get a list for each status, how can I do that?
3. Please give me a Business Object Name

1. Which params are required params?


2. I need to get a list for each status, how can I do that?
3. Please give me a Business Object Name

1. Which params are required params?


2. I need to get a list for each status, how can I do that?
3. Please give me a Business Object Name

1. Which params are required params?


2. Please give me a Business Object Name
1. How to get SCREENER_RID? This API will call when App is Launching.
2. Which params are required params?
3. The Searchexpr field is described as an array, is it only used as a String here?
4. We just want a simple count, we don't need the list to come down in the response.
5. Please give me a Business Object Name

1. How to get SCREENER_RID? This API will call when App is Launching.
2. Which params are required params?
3. The Searchexpr field is described as an array, is it only used as a String here?
4. We just want a simple count, we don't need the list to come down in the response.
5. Please give me a Business Object Name

1. Which params are required params?


2. Please give me a Business Object Name

1. Which params are required params?


2. How to send the Photo URLs?
3. Which value should we send to BADGE_COLOR?
4. Why we send Screener name?
5. Which value should we send SCREENER_SR_NO?
6. When sending values that starting with _ACCESS_, should we send them as 1 / 0?
7. How to get ASSIGNMENT_DISPATCH_RID? Can I get from Change Status of Screening API?
8. How to get ASSIGNMENT_SCREENER_RID? Can I get from Change Status of Screening API?

1. Which params are required params?


2. The response should contain the FULL NAME of the person who was screened.
3. Please give me a Business Object Name

1. Which params are required params?


2. How to get ASSIGNMENT_DISPATCH_RID? Can I get from Show Screening List API?
3. How to get ASSIGNMENT_SCREENER_RID? Can I get from Show Screening List API?
4. Why we send SYS_CREATE_DATE?
5. How does the image information come down in the response?
6. Response param should be contains Badge Color.
7. Please give me a Business Object Name

1. Which params are required params?


2. Is not need to receive the Tenant at Request param? (How to know it is LA Airport / Burbank Airport?)
3. Please give me a Business Object Name
1. Which params are required params?
2. How to get AIRPORT_RID? This API will call when App is Launching. Can I get from Show Door Informations API? I
don't want Hard-Coding the RID.
3. How to get SCREENER_RID? This API will call when App is Launching.
4. This API occur error at POSTMAN.
5. Please give me a Business Object Name
Answers
Cognito Credentials return the following response body:
{
"UserAttributes": [
{
"Name": "sub",
"Value": "a4fcc293-2045-4739-8cd6-c603e35d4f0a"
},
{
"Name": "email_verified",
"Value": "true"
},
{
"Name": "name",
"Value": "AeroSuite User1"
},
{
"Name": "custom:userIdentity",
"Value": "AEROSUITE_A00015_c6139d26aa0311eea0890af218b879ee"
},
{
"Name": "email",
"Value": "cals_aerosuite_1@calsplatz.com"
}
],
"Username": "cals_aerosuite_1"
}
We can use either name or email or the custom:userIdentity (SYS_ID part) in the request
body to uniquely identify the user information.
Request body would look like this:
{
"busobjectid": "36603cd4cb1311eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr": "[USER_NAME]: "AeroSuite User1"", OR "searchexpr": "[USER_RID]:
"c6139d26aa0311eea0890af218b879ee"" OR "searchexpr": "[EMAIL]: "cals_aerosuite_1@calsplatz.com""
"sortspecs": [],
"sortexpr": "",
"timezone": 0
}

1. EMPLOYEE_RID is the SYS_ID field in the response of Show User Information API.
Other important data that will be recieved is TL_ACC_ID and TL_APL_ID which is
accountId and applicationId required for other API calls.
2. FILE_NAME is the profile photo image file name. We renamed the attribute to
IMG_FILE_NAME.
3. FULL_PATH is the profile photo image S3 full path. We renamed the attribute to
IMG_FULL_PATH.
4. "userId", "EMPLOYEE_RID" are the required parameters to perform update,rest are
the fields which we want to update in the API call.
5. We can update following fields from mobile in one go itself.
"IMG_FILE_NAME", "IMG_FULL_PATH", "CHAT_APP_CONNECTION_STATUS_CD"
6. App's busy state is stored in the CHAT_APP_CONNECTION_STATUS_CD field.
7. Since, CometChat has it's own status, CHAT_APP_CONNECTION_STATUS is the App's
busy state. We need not store cometchat status in the DB.
Since, Cognito Credentials return the user name, user_identity and email, we need to
pass the either of these attributes to fetch the user information.
Request body would look like this:
{
"busobjectid": "36603cd4cb1311eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr":
We are not sure"[USER_NAME]: "AeroSuite
if this API is even requiredUser1"", OR "searchexpr":
for the mobile "[USER_RID]:
app or the CALS Extension
"c6139d26aa0311eea0890af218b879ee""
application. OR "searchexpr": "[EMAIL]:
"cals_aerosuite_1@calsplatz.com""

1. For select data API , we would need to pass the Business Object ID and if there is a
search filter condition like STATUS_CD. Request body should be in the following format:
{
"busobjectid": "4ac22a65c0bd11eeafe20a57c56cc3cc",
"pageindex": 1,
"pagesize": 20,
"searchspecs": [],
"searchexpr":"[APPROVAL_STATUS_CD] = 1 OR [STATUS_CD]=2",
"sortspecs": [],
"sortexpr": "",
"timezone": 0
}
2. Values for "APPROVAL_STATUS_CD" are 1---> Available 2---> Pending 3---> Approve
4---> Reject. We can pass these filters in the search expression.
3. Business Object Name : AR ASSIGNMENT BO

1 & 2. Business Object ID and search expression having the "[ASSIGNMENT_DATE] =


'2023-12-10' AND [AGENT_STATUS_CD]=1 AND
[EMPLOYEE_RID]='d19776f0cbce11eeafe20a57c56cc3cc'" to get the list of dispatch
assingments for a specific screener/agent.
3. SCREENER_DISPATCH_ASSIGNMENT_LIST

1. "SYS_ID" of the Dispatch Assignment SYS_ID and "AGENT_STATUS_CD": "2"


2. SCREENER_DISPATCH_ASSIGNMENT_LIST
1. There is no need for the SCREENER_RID now as we have created a new application
lambda to return the count.
2. "EMPLOYEE_RID" and "ASSIGNMENT_DATE" are the required fields.
3. Since this is a lambda now, we need to pass only 2 fields.
4. Yes, updated it to return just the count.
5. Not required anymore.

1. There is no need for the SCREENER_RID now as we have created a new application
lambda to return the count.
2. "EMPLOYEE_RID" and "ASSIGNMENT_DATE" are the required fields.
3. Since this is a lambda now, we need to pass only 2 fields.
4. Yes, updated it to return just the count.
5. Not required anymore.

1. "SYS_ID" -> T_ASSIGNMENT_DISPATCH table SYS_ID;


status -> "AGENT_STATUS_CD": "3"
2. SCREENER_DISPATCH_ASSIGNMENT_LIST

1. Following fields are mandatory for submitting screening record


"userId": "c6175f87aa0311eea0890af218b879ee",
"applicationId": "b5d0ddadaa0311eea0890af218b879ee",
"accountId": "b5d6d407aa0311eea0890af218b879ee",
"FULL_NAME": "DemoTester",
"BADGE_NUM":"101",
"AIRPORT_RID":"073ccdbfc19f11eeae13065841a88410",
"BADGE_COLOR":"",
"ACCESS_RAD":"1",
"ACCESS_AOA":"0",
1. Business Object ID and the assignment date in the search expression.
2. We have added the full name field.
3. AR SCREENING LIST BO

1. "SYS_ID" are the required fields along with the Business object id.

2. Yes
3. Yes
4. No, we don't need SYS_CREATE_DATE any more. We just need the SYS_ID getting in
the Show Screening List.
5. We are still figuring out the image part and it would be an array of image full path
being sent in the response. Also, this is only possible in application lambda which we are
creating now.
6.
1. Sure, we have
Only one is theadded theparam:
required badge color code, 1 is=blue and 2 is purple.
"[TL_ACC_ID]
'b5d6d407aa0311eea0890af218b879ee' AND [TL_APL_ID]=
'b5d0ddadaa0311eea0890af218b879ee'",
2. TL_ACC_ID and TL_APL_ID is sufficient to fetch the data from the database. .
3.
1. "AIRPORT_RID", "SCREENER_RID" are the required parameters.
2. Yes, based on the TL_APL_ID and TL_ACC_ID, we will send the AIRPORT_RID and
DOOR information.
3. Basic description of Mobile for Agent API will return the SCREENER_RID.
4. Fixed the API call in postman.
5. AR SCREENER LOCATION BO

You might also like