first commit
This commit is contained in:
@@ -0,0 +1,171 @@
|
||||
=========================
|
||||
App Details Link - First screen
|
||||
|
||||
[Fixed URL]
|
||||
https://api.parinaam.in/api/GetAppDetails
|
||||
|
||||
inputJSON
|
||||
---------
|
||||
{
|
||||
"ProjectCode":28281
|
||||
}
|
||||
|
||||
Output JSON
|
||||
-----------
|
||||
[
|
||||
{
|
||||
"projectID": 1,
|
||||
"projectName": "AbbottMNANC",
|
||||
"description": "AbbottMNANC",
|
||||
"activationStatus": true,
|
||||
"ProjectCode": "28281",
|
||||
"color_Dark": "#ffffff",
|
||||
"color_Light": "#ffffff",
|
||||
"text_Color_onDark": "#ffffff",
|
||||
"text_Color_onLight": "#ffffff",
|
||||
"text_Color_onWhite": "#ffffff",
|
||||
"splash_logo_Url": "https://an.parinaam.in/images/abbottlogoold.png",
|
||||
"login_logo_Url": "https://an.parinaam.in/images/abbottlogoold.png",
|
||||
"forget_Password_on_LoginPage": true,
|
||||
"menu_top_logo": "https://an.parinaam.in/images/abbottlogoold.png",
|
||||
"baseURL": "https://An.parinaam.in/Webservice/Abbott_MnancService.svc/"
|
||||
}
|
||||
]
|
||||
==========================
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
==========================
|
||||
Login Service
|
||||
|
||||
https://an.parinaam.in/Webservice/Abbott_MnancService.svc/Login
|
||||
|
||||
Input JSON
|
||||
------------
|
||||
{
|
||||
"UserName": "UserName",
|
||||
"Password": "Password",
|
||||
"Intime": "14:18:48",
|
||||
"Latitude": 0,
|
||||
"Longitude": 0,
|
||||
"Appversion": "1.0",
|
||||
"Attmode": "0",
|
||||
"Networkstatus": "0",
|
||||
"Manufacturer": "",
|
||||
"ModelNumber": "",
|
||||
"OSVersion": "",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Output Json will have status and Security Token. Save this security Token for sending with each data download Call.
|
||||
|
||||
==========================
|
||||
|
||||
|
||||
|
||||
|
||||
==========================
|
||||
Download data Generic
|
||||
|
||||
https://an.parinaam.in/Webservice/Abbott_MnancService.svc/DownloadJson
|
||||
|
||||
|
||||
|
||||
Notice Board / Landing Page
|
||||
------------
|
||||
https://Anitemp.parinaam.in/Webservice/Abbott_MnancService.svc/DownloadJson
|
||||
{
|
||||
Downloadtype: "Notice_Board_Sup",
|
||||
UserName: userInfoStore.getUserName(),
|
||||
Param1: empid,
|
||||
Param2: "",
|
||||
SecurityToken: userInfoStore.getSecurityToken(),
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
inputJSON - Supervisor Team List
|
||||
---------
|
||||
{
|
||||
Downloadtype: "Sup_TeamList",
|
||||
UserName: userInfoStore.getUserName(),
|
||||
Param1: "",
|
||||
Param2: "",
|
||||
SecurityToken: userInfoStore.getSecurityToken(),
|
||||
}
|
||||
|
||||
Output Json Will vary based on 'Downloadtype'
|
||||
=========================
|
||||
|
||||
|
||||
Store List
|
||||
------------
|
||||
https://Anitemp.parinaam.in/Webservice/Abbott_MnancService.svc/DownloadJson
|
||||
{
|
||||
Downloadtype: "Sup_JourneyPlan",
|
||||
UserName: userInfoStore.getUserName(),
|
||||
Param1: empid,
|
||||
Param2: "",
|
||||
SecurityToken: userInfoStore.getSecurityToken(),
|
||||
};
|
||||
|
||||
|
||||
|
||||
For Store Photos Screen - Category Drop down (Unique list from 'CategoryName' [To Upload 'CategoryID'])
|
||||
------------
|
||||
https://Anitemp.parinaam.in/Webservice/Abbott_MnancService.svc/DownloadJson
|
||||
{
|
||||
Downloadtype: "Master_Brand",
|
||||
UserName: userInfoStore.getUserName(),
|
||||
Param1: empid,
|
||||
Param2: "",
|
||||
SecurityToken: userInfoStore.getSecurityToken(),
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
Abbott_Mnanc
|
||||
===================================
|
||||
1.) https://anitemp.parinaam.in/Webservice/Abbott_MnancService.svc/StoreCoverageSup
|
||||
|
||||
{
|
||||
"Mid": "0",
|
||||
"StoreId": "3",
|
||||
"EmpId": "3",
|
||||
"VisitDate": "01\/06\/2022",
|
||||
"Latitude": "0",
|
||||
"Longitude": "0",
|
||||
"ReasonId": "0",
|
||||
"Remark": "test",
|
||||
"CheckInImage": "4_testsup_StoreImg-20211217-122541.jpg",
|
||||
"CheckoutImage": "",
|
||||
"AppVersion": "1.0",
|
||||
"UserId": "testmer",
|
||||
"UploadStatus": "I" ,
|
||||
"SecurityToken" : "ACAAC716-DA37-49D0-8342-4549B5EF0EC220220106202706"
|
||||
}
|
||||
|
||||
2.) https://anitemp.parinaam.in/Webservice/Abbott_MnancService.svc/StoreCoverageStatusSup
|
||||
|
||||
{
|
||||
"Mid": "6",
|
||||
"Status": "I"
|
||||
}
|
||||
|
||||
3.) https://anitemp.parinaam.in/Webservice/Abbott_MnancService.svc/StoreCheckOutSup
|
||||
|
||||
{
|
||||
"UserId": "testmer",
|
||||
"EmpId": "3",
|
||||
"StoreId": "3",
|
||||
"Latitude": "0.0",
|
||||
"Longitude": "0.0",
|
||||
"Checkout_Date": "01/06/2022"
|
||||
}
|
||||
@@ -0,0 +1,99 @@
|
||||
=========================
|
||||
App Details Link - First screen
|
||||
|
||||
[Fixed URL]
|
||||
https://api.parinaam.in/api/GetAppDetails
|
||||
|
||||
inputJSON
|
||||
---------
|
||||
{
|
||||
"ProjectCode":28281
|
||||
}
|
||||
|
||||
Output JSON
|
||||
-----------
|
||||
[
|
||||
{
|
||||
"projectID": 1,
|
||||
"projectName": "AbbottMNANC",
|
||||
"description": "AbbottMNANC",
|
||||
"activationStatus": true,
|
||||
"ProjectCode": "28281",
|
||||
"color_Dark": "#ffffff",
|
||||
"color_Light": "#ffffff",
|
||||
"text_Color_onDark": "#ffffff",
|
||||
"text_Color_onLight": "#ffffff",
|
||||
"text_Color_onWhite": "#ffffff",
|
||||
"splash_logo_Url": "https://an.parinaam.in/images/abbottlogoold.png",
|
||||
"login_logo_Url": "https://an.parinaam.in/images/abbottlogoold.png",
|
||||
"forget_Password_on_LoginPage": true,
|
||||
"menu_top_logo": "https://an.parinaam.in/images/abbottlogoold.png",
|
||||
"baseURL": "https://An.parinaam.in/Webservice/Abbott_MnancService.svc/"
|
||||
}
|
||||
]
|
||||
==========================
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
==========================
|
||||
Login Service
|
||||
|
||||
https://an.parinaam.in/Webservice/Abbott_MnancService.svc/Login
|
||||
|
||||
Input JSON
|
||||
------------
|
||||
{
|
||||
"UserName": "UserName",
|
||||
"Password": "Password",
|
||||
"Intime": "14:18:48",
|
||||
"Latitude": 0,
|
||||
"Longitude": 0,
|
||||
"Appversion": "1.0",
|
||||
"Attmode": "0",
|
||||
"Networkstatus": "0",
|
||||
"Manufacturer": "",
|
||||
"ModelNumber": "",
|
||||
"OSVersion": "",
|
||||
}
|
||||
|
||||
|
||||
|
||||
Output Json will have status and Security Token. Save this security Token for sending with each data download Call.
|
||||
|
||||
==========================
|
||||
|
||||
|
||||
|
||||
|
||||
==========================
|
||||
Download data Generic
|
||||
|
||||
https://an.parinaam.in/Webservice/Abbott_MnancService.svc/DownloadJson
|
||||
|
||||
inputJSON - Supervisor Team List
|
||||
---------
|
||||
{
|
||||
Downloadtype: "Sup_TeamList",
|
||||
UserName: userInfoStore.getUserName(),
|
||||
Param1: "",
|
||||
Param2: "",
|
||||
SecurityToken: userInfoStore.getSecurityToken(),
|
||||
}
|
||||
|
||||
Output Json Will vary based on 'Downloadtype'
|
||||
=========================
|
||||
|
||||
|
||||
Store List
|
||||
------------
|
||||
https://Anitemp.parinaam.in/Webservice/Abbott_MnancService.svc/DownloadJson
|
||||
{
|
||||
Downloadtype: "Sup_JourneyPlan",
|
||||
UserName: userInfoStore.getUserName(),
|
||||
Param1: empid,
|
||||
Param2: "",
|
||||
SecurityToken: userInfoStore.getSecurityToken(),
|
||||
};
|
||||
Reference in New Issue
Block a user