Time Payment API Doc New
Time Payment API Doc New
Type : POST
{
Request : Body /raw JSON
“UserName": "",
"Password": ""
}
Response : JSON
{ "success": true,
"message": "Login Successfully",
"token_type": "bearer",
"access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiJkOWRkMjZiNC1iODJjLTQxMTUtYTFmYS1kMTgzMTJkY2NhMWUiLCJ2YWxpZCI6Ij
EiLCJ1c2VyaWQiOiI2NzMzIiwiVXJpc3",
"data": { "UserId": 6733,
"Id": 0,
"UserName": "alex.brady",
"Title1": null,
"Email": "[email protected]",
"FirstName": "Alex",
"LastName": "Brady",
"PreferredName": null,
"AltEmail": null,
"AboutMe": null,
"PhoneNo": "8878811804",
"SecretAnswer": "blue",
"AppColorCode": "#11ad05",
"AppName": "Time Payment",
"DFMCustomerMasterID": 1,
"SecretQuestionId": 1 }
}
2. API Name : Get Locations
Type : GET
Request : Body
None
Response : JSON {
"message": "Project List Get Successfully..",
"success": true,
"data": [
{
"RustyData": {},
"assetList": [],
"BillOfMaterialCount": 0,
"Address": "zxc Ada Michigan 49546",
"Address2": null,
"City": null,
"CityId": null,
"ClientId": 0,
"ConceptVar": null,
"ContactInfo": null,
"ContactPerson": null,
"ContactPersonEmail": null,
"ContactPersonName": null,
"ContactPersonPhone": null,
"Country": null,
"CountryCode": null,
"CountryId": null,
"Created": "0001-01-01T00:00:00",
"CreatedBy": 0,
"Description": null,
"DIYCount": 0,
"DIYCount": 0,
"EsclataionContactAncherOne": null,
"EsclataionContactAncherTwo": null,
"ExportParameters": [],
"fromRowNumber": 0,
"HashTag": null,
"Id": 6698,
"Latitude": null,
"limit": 0,
"Location": null,
"LocationId": null,
"Longitude": null,
"lstUserFilePermission": [],
"CustomOrderBy": null,
"dDLKEYVluesList": null,
"ManagerContactAncherOne": null,
"ManagerContactAncherTwo": null,
"ManagerEmail": null,
"ManagerMobileNo": null,
"ManagerName": null,
"ManagerPhone": null,
"MarketVarientId": 0,
"Name": "ZDFMTest",
"NotificationEmailId": null,
"SectorName": null,
"organizationName": null,
"OutletEquipmentCount": 0,
"OutletImage": null,
"OutletList": [],
"OutletStatus": null,
"PEndDate": null,
"PostalCode": null,
"PreventativeCount": 0,
"PStartDate": null,
"RegionalContactAncherOne": null,
"RegionalContactAncherTwo": null,
"RegionalManager": null,
"RegionalManagerEmail": null,
"RegionalManagerMobile": null, }
}
"RetiredBy": null,
3. API Name : Get Asset List
Type : GET
Request : Body
None
Response : JSON {
"message": "List Get Successfully..",
"success": true,
"data": [
{
"ProjectId": 6698,
"AssetId": 1057,
"SerialNumber": null,
"AssetName": "testing_aaset",
"Name": "ZDFMTest- testing_aaset- CUSTOM"
}
]
}
4. API Name : Compare Images
Type : POST
Request : PARAM
outletEquipmentId : 1055
Response : JSON
{
"message": "Compare File success",
"success": true,
"data": {
"Difference": "35.54688",
"Accuracy": "64.45313",
"CompareFileName": "https://srgstudiorguatsstore.blob.core.windows.net/photos/Equipment/26345/
Image/thumb_220105193800_Turbo Chef HHD-9500.png?
sr=b&si=AZMBL_SAS_POLICY&sig=DxaUwTak4clw52WWzdZ4Re273CwoPsHQ1skmrDUC4Tc%3D"
}
}
5. API Name : Create Service Ticket
Type : POST
Request : PARAM
EquipmentId : 1098
Description : TEST
DateAndTime : 8/7/2023 , 05:54:10
ClickedImagePercentage : 36.3
CreatedBy : 6538
ProblemTypeMaster : test
IsTroubleShootingPerform: Yes
ServiceProviderCompanyList : 1034
Response : JSON {
"success": true,
"message": "Create Service Ticket API add Successfully!",
"data": 10
}
6. API Name : Get Service Tickets
Type : GET
Request : PARAM
UserId : 6538
Type : GET
Request : PARAM
outletEquipmenvalue : 1055
Response : JSON {
"message": "Maintenance & Cleaning ",
"success": true,
"data": {
"MaintenanceAndCleaningName": null,
"FilePathURL": null,
"TextValue": null,
"MaintenanceAndCleaningList": null,
"TroubleShootingName": null,
"TroubleShootingYesAndNo": null,
"TroubleShootingList": null
}
}
8. API Name : Add Asset
Type : POST
Response : JSON
{
"message": "Assets Added.",
"AppRef_ID": "4730f982-36f0-431a-8632-174e8d7acacc"
}
9. API Name : Send Email
Type : POST
Response : JSON
{
"message": "Send Email."
}
10. API Name : Update Profile
Type : POST
Response : JSON
{
"message": "Profile updated successfully.",
"success": true,
"data": {
"AboutMe": null,
"AltEmail": null,
"BrandLocationList": null,
"ConceptsWithGeoViewModelList": null,
"CSICode": null,
"Email": "[email protected]",
"File": null,
"FirstName": "Alex",
"FirstName": "Alex",
"GeoCurrent": null,
"Id": 6733,
"IsTextMsgAllowed": false,
"IsUsdPreferredCurency": false,
"IsVendor": false,
"LastName": "Brady",
"LocationList": null,
"MarketCurrent": null,
"MeasurementSystem": 0,
"MeasurementSystemList": null,
"Mobile": null,
"OriginalImage": null,
"PhoneNo": "8878811804",
"PreferredCurency": null,
"PreferredName": null,
"SecretAnswer": "blue ",
"SecretQuestionId": 1,
"SecretQuestionList": [],
"ThumbImage": null,
"Title1": null,
"TitleList": null,
"UserName": "alex.brady"
}
}
11. API Name : Change Password
Type : POST
Response : JSON {
"message": "Verification email sent to your registered Email Id. Please don't forget to check
Spam folder also.",
"success": true,
"data": ""
}
12. API Name : Get Asset Details By QR CODE
Type : POST
Request : PARAM
outletEquipmentvalue: 0x1F34F66AF96C1B46
Response : JSON
{
"message": "Assets Details",
"success": true,
"data": {
"OrganizationName": "TimePayment",
"LocationRef": "ZDFMTest",
"EquipmentName": "testnik_pp",
"ModelName": "CUSTOM",
"outletEquipmentId": 1057,
"CategoryName": "Baking",
"AssetsName": "testing_aaset",
"Manufacturer": "A.O.Smith",
"SerialNumber": "53453455555555555555",
"DrawingIDTag": "65464",
"ServiceTagId": "5435",
"OwnerTagId": "645644",
"OwnerName": null,
"LeadTimeforWarranty": 30,
"LeadTimeforDIY": 7,
"GroupName": null,
"Unit": null,
"SubUnit": null,
"FunctionalArea": null,
"PurchaseDateDepreciation": "2023-07-31T00:00:00",
"Depreciation": "12",
"Depreciationendoflife": "2024-07-31T00:00:00",
"Depreciationendoflife": "2024-07-31T00:00:00",
"Notificationleadtimedepreciation": "12",
"ConditionUL": "2",
"ConditionNameUL": "New",
"InstallationDateUL": "2023-07-31T00:00:00",
"LengthoflifeUL": "12",
"RetirecheckboxUL": false,
"RetireUL": null,
"UsechangereasonUL": null,
"Notificationleadtime": "12",
"Endoflife": "2024-07-31T00:00:00",
"UsetypeUL": "1",
"UsetypeNameUL": "Normal",
"BaseWarrantyList": [
{
"strGroupid": "",
"BaseWarrantyID": 761,
"WarrantyID": 307,
"EquipmentID": 26248,
"WarrantyType": "Baby Carrier Stand",
"Duration": 33,
"Description": "dd",
"Status": 1,
"WarrantyIdentifier": 2,
"OutletEquipmentID": 1057,
"DateOfInstalled": "2023-07-31T00:00:00",
"DateOfEnd": "2026-04-30T00:00:00",
"DateOfInstalledText": "07/31/2023",
"DateOfEndText": "04/30/2026",
"BaseWarrantyGroupids": "",
"BaseWarrantyGroupNames": "",
"lstBaseWarrantyAssetsHistoryViewModel": [],
"lstGroupInfoMember": []
}
],
"WaterConditonId": 0,
"WaterConditonName": null,
"Altitude": null,
"AvgRoomTemp": null,
"OutdoorTempL": null,
"OutdoorTempH": null,
"AssetLocation": null,
"AssetLocationName": null,
"AssetProtection": null,
"AssetProtectionName": null,
"DirectSunlight": null,
"DirectSunlightName": null,
"AdjacentUseOFFloor": null,
"AdjacentUseOFFloorName": null,
"DailyUseHours": null,
"AnnualOpDays": null,
"TotalOpHours": null,
"AssetsLifeStoryList": [],
"GeoRedius": 0,
"GeoLatitude": 0,
"GeoLongitude": 0,
"CampusId": 1,
"CampusName": "Bank of America",
"SubRegionID": 0,
"SubRegionName": "",
"Region_ID": 0,
"RegionName": "",
"SectorID": 0,
"SectorName": "",
"TroubleShooting": null,
"ServiceProviderCompanyList": [
{
"ClientId": null,
"CSRUserID": null,
"CSRName": null,
"CSRPhone": null,
"EscalationUserID": null,
"FunctionalAreaIds": null,
"FunctionalAreaList": null,
"IsActive": false,
"IsDeleted": false,
"IsInternal": false,
"IssueTypeIds": null,
"Mode": 0,
"SelectedFunctionalAreaIds": null,
"SelectedTypeOfServiceIds": null,
"ServiceEngineerID": 0,
"ServiceEngineerList": null,
"ServiceManagerID": 0,
"ServiceManagerList": null,
"ServiceProviderID": 1066,
"serviceProviderList": null,
"ServiceProviderListForReport": [],
"ServiceProviderName": "Cullinary Staff",
"ServiceTeamMappingList": null,
"ServiceWarrantyLimit": 0,
"ServiceWarrantyLimitLabor": 0,
"SkillList": [],
"SkillMappingList": null,
"TypeOfServiceIds": null,
"TypeOfServiceList": null,
"ServiceTypeID": null,
"ServiceTypeIDList": null,
"SMServiceType": null,
"SMServiceTypeList": null,
"SEServiceType": null,
"SEServiceTypeList": null,
"UpdatedBy": 0,
"UpdatedDate": "0001-01-01T00:00:00",
"EscalationUserIDList": null,
"City": null,
"CityList": null,
"GroupName": null,
"GroupList": null,
"State": null,
"StateList": null,
"ZipCode": null,
"Street1": null,
"Street2": null,
"IsInternal2": false,
"EscalationLeadTimeInDays": null,
"EscalationContactPersonName": null,
"EscalationContactPersonPhone": null,
"EscalationContactPersonEmail": null,
"Escalationsequence": null,
"txtEscalationContactPersonName": null,
"txtEscalationContactPersonPhone": null,
"txtEscalationContactPersonEmail": null,
"txtEscalationsequence": null,
"ObjectPMAndDIYSchedule_ID": null,
"ObjectPMAndDIYSchedule_ID_removeID": null
},
{
"ClientId": null,
"CSRUserID": null,
"CSRName": null,
"CSRPhone": null,
"EscalationUserID": null,
"FunctionalAreaIds": null,
"FunctionalAreaList": null,
"IsActive": false,
"IsDeleted": false,
"IsInternal": false,
"IssueTypeIds": null,
"Mode": 0,
"SelectedFunctionalAreaIds": null,
"SelectedTypeOfServiceIds": null,
"ServiceEngineerID": 0,
"ServiceEngineerList": null,
"ServiceManagerID": 0,
"ServiceManagerList": null,
"ServiceProviderID": 1064,
"serviceProviderList": null,
"ServiceProviderListForReport": [],
"ServiceProviderName": "Authorized Service Agent",
"SkillList": [],
"SkillMappingList": null,
"TypeOfServiceIds": null,
"TypeOfServiceList": null,
"ServiceTypeID": null,
"ServiceTypeIDList": null,
"SMServiceType": null,
"SMServiceTypeList": null,
"SEServiceType": null,
"SEServiceTypeList": null,
"UpdatedBy": 0,
"UpdatedDate": "0001-01-01T00:00:00",
"EscalationUserIDList": null,
"City": null,
"CityList": null,
"GroupName": null,
"GroupList": null,
"State": null,
"StateList": null,
"ZipCode": null,
"Street1": null,
"Street2": null,
"IsInternal2": false,
"EscalationLeadTimeInDays": null,
"EscalationContactPersonName": null,
"EscalationContactPersonPhone": null,
"EscalationContactPersonEmail": null,
"Escalationsequence": null,
"txtEscalationContactPersonName": null,
"txtEscalationContactPersonPhone": null,
"txtEscalationContactPersonEmail": null,
"txtEscalationsequence": null,
"ObjectPMAndDIYSchedule_ID": null,
"ObjectPMAndDIYSchedule_ID_removeID": null
}
],
"AssetPartsWarrantyList": [],
"ProblemTypeMasterList": [
{
"Id": 1,
"Id": 1,
"Name": "Fryer not working",
"Duplicate": null,
"GroupId": "6,5",
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 2,
"Name": "Fan broke down",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 3,
"Name": "Fan stuck",
"Duplicate": null,
"GroupId": "4,5",
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 4,
"Name": "Fryer is not cleaned",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 6,
"Name": "test6",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null },
{
"Id": 7,
"Name": "test7",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null
}
],
"lstDepreciationAssetsHistoryViewModel": null,
"lstDepreciationGroupInfoMember": null,
"lstUseFulLifeAssetsHistoryViewModel": null,
"lstUseFulLifeGroupInfoMember": null,
"EquipmentImageUrl": ""
}
}
13. API Name : Get Asset Details By EquipmentId
Type : POST
Request : PARAM
outletEquipmentvalue: 1055
Response : JSON
{
"message": "Assets Details",
"success": true,
"data": {
"OrganizationName": "TimePayment",
"LocationRef": "ZDFMTest",
"EquipmentName": "testnik_pp",
"ModelName": "CUSTOM",
"outletEquipmentId": 1057,
"CategoryName": "Baking",
"AssetsName": "testing_aaset",
"Manufacturer": "A.O.Smith",
"SerialNumber": "53453455555555555555",
"DrawingIDTag": "65464",
"ServiceTagId": "5435",
"OwnerTagId": "645644",
"OwnerName": null,
"LeadTimeforWarranty": 30,
"LeadTimeforDIY": 7,
"GroupName": null,
"Unit": null,
"SubUnit": null,
"FunctionalArea": null,
"PurchaseDateDepreciation": "2023-07-31T00:00:00",
"Depreciation": "12",
"Depreciationendoflife": "2024-07-31T00:00:00",
"Depreciationendoflife": "2024-07-31T00:00:00",
"Notificationleadtimedepreciation": "12",
"ConditionUL": "2",
"ConditionNameUL": "New",
"InstallationDateUL": "2023-07-31T00:00:00",
"LengthoflifeUL": "12",
"RetirecheckboxUL": false,
"RetireUL": null,
"UsechangereasonUL": null,
"Notificationleadtime": "12",
"Endoflife": "2024-07-31T00:00:00",
"UsetypeUL": "1",
"UsetypeNameUL": "Normal",
"BaseWarrantyList": [
{
"strGroupid": "",
"BaseWarrantyID": 761,
"WarrantyID": 307,
"EquipmentID": 26248,
"WarrantyType": "Baby Carrier Stand",
"Duration": 33,
"Description": "dd",
"Status": 1,
"WarrantyIdentifier": 2,
"OutletEquipmentID": 1057,
"DateOfInstalled": "2023-07-31T00:00:00",
"DateOfEnd": "2026-04-30T00:00:00",
"DateOfInstalledText": "07/31/2023",
"DateOfEndText": "04/30/2026",
"BaseWarrantyGroupids": "",
"BaseWarrantyGroupNames": "",
"lstBaseWarrantyAssetsHistoryViewModel": [],
"lstGroupInfoMember": []
}
],
"WaterConditonId": 0,
"WaterConditonName": null,
"Altitude": null,
"AvgRoomTemp": null,
"OutdoorTempL": null,
"OutdoorTempH": null,
"AssetLocation": null,
"AssetLocationName": null,
"AssetProtection": null,
"AssetProtectionName": null,
"DirectSunlight": null,
"DirectSunlightName": null,
"AdjacentUseOFFloor": null,
"AdjacentUseOFFloorName": null,
"DailyUseHours": null,
"AnnualOpDays": null,
"TotalOpHours": null,
"AssetsLifeStoryList": [],
"GeoRedius": 0,
"GeoLatitude": 0,
"GeoLongitude": 0,
"CampusId": 1,
"CampusName": "Bank of America",
"SubRegionID": 0,
"SubRegionName": "",
"Region_ID": 0,
"RegionName": "",
"SectorID": 0,
"SectorName": "",
"TroubleShooting": null,
"ServiceProviderCompanyList": [
{
"ClientId": null,
"CSRUserID": null,
"CSRName": null,
"CSRPhone": null,
"EscalationUserID": null,
"FunctionalAreaIds": null,
"FunctionalAreaList": null,
"IsActive": false,
"IsDeleted": false,
"IsInternal": false,
"IssueTypeIds": null,
"Mode": 0,
"SelectedFunctionalAreaIds": null,
"SelectedTypeOfServiceIds": null,
"ServiceEngineerID": 0,
"ServiceEngineerList": null,
"ServiceManagerID": 0,
"ServiceManagerList": null,
"ServiceProviderID": 1066,
"serviceProviderList": null,
"ServiceProviderListForReport": [],
"ServiceProviderName": "Cullinary Staff",
"ServiceTeamMappingList": null,
"ServiceWarrantyLimit": 0,
"ServiceWarrantyLimitLabor": 0,
"SkillList": [],
"SkillMappingList": null,
"TypeOfServiceIds": null,
"TypeOfServiceList": null,
"ServiceTypeID": null,
"ServiceTypeIDList": null,
"SMServiceType": null,
"SMServiceTypeList": null,
"SEServiceType": null,
"SEServiceTypeList": null,
"UpdatedBy": 0,
"UpdatedDate": "0001-01-01T00:00:00",
"EscalationUserIDList": null,
"City": null,
"CityList": null,
"GroupName": null,
"GroupList": null,
"State": null,
"StateList": null,
"ZipCode": null,
"Street1": null,
"Street2": null,
"IsInternal2": false,
"EscalationLeadTimeInDays": null,
"EscalationContactPersonName": null,
"EscalationContactPersonPhone": null,
"EscalationContactPersonEmail": null,
"Escalationsequence": null,
"txtEscalationContactPersonName": null,
"txtEscalationContactPersonPhone": null,
"txtEscalationContactPersonEmail": null,
"txtEscalationsequence": null,
"ObjectPMAndDIYSchedule_ID": null,
"ObjectPMAndDIYSchedule_ID_removeID": null
},
{
"ClientId": null,
"CSRUserID": null,
"CSRName": null,
"CSRPhone": null,
"EscalationUserID": null,
"FunctionalAreaIds": null,
"FunctionalAreaList": null,
"IsActive": false,
"IsDeleted": false,
"IsInternal": false,
"IssueTypeIds": null,
"Mode": 0,
"SelectedFunctionalAreaIds": null,
"SelectedTypeOfServiceIds": null,
"ServiceEngineerID": 0,
"ServiceEngineerList": null,
"ServiceManagerID": 0,
"ServiceManagerList": null,
"ServiceProviderID": 1064,
"serviceProviderList": null,
"ServiceProviderListForReport": [],
"ServiceProviderName": "Authorized Service Agent",
"SkillList": [],
"SkillMappingList": null,
"TypeOfServiceIds": null,
"TypeOfServiceList": null,
"ServiceTypeID": null,
"ServiceTypeIDList": null,
"SMServiceType": null,
"SMServiceTypeList": null,
"SEServiceType": null,
"SEServiceTypeList": null,
"UpdatedBy": 0,
"UpdatedDate": "0001-01-01T00:00:00",
"EscalationUserIDList": null,
"City": null,
"CityList": null,
"GroupName": null,
"GroupList": null,
"State": null,
"StateList": null,
"ZipCode": null,
"Street1": null,
"Street2": null,
"IsInternal2": false,
"EscalationLeadTimeInDays": null,
"EscalationContactPersonName": null,
"EscalationContactPersonPhone": null,
"EscalationContactPersonEmail": null,
"Escalationsequence": null,
"txtEscalationContactPersonName": null,
"txtEscalationContactPersonPhone": null,
"txtEscalationContactPersonEmail": null,
"txtEscalationsequence": null,
"ObjectPMAndDIYSchedule_ID": null,
"ObjectPMAndDIYSchedule_ID_removeID": null
}
],
"AssetPartsWarrantyList": [],
"ProblemTypeMasterList": [
{
"Id": 1,
"Id": 1,
"Name": "Fryer not working",
"Duplicate": null,
"GroupId": "6,5",
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 2,
"Name": "Fan broke down",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 3,
"Name": "Fan stuck",
"Duplicate": null,
"GroupId": "4,5",
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 4,
"Name": "Fryer is not cleaned",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null
},
{
"Id": 6,
"Name": "test6",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null },
{
"Id": 7,
"Name": "test7",
"Duplicate": null,
"GroupId": null,
"GroupList": null,
"ProblemTypeMasterList": null
}
],
"lstDepreciationAssetsHistoryViewModel": null,
"lstDepreciationGroupInfoMember": null,
"lstUseFulLifeAssetsHistoryViewModel": null,
"lstUseFulLifeGroupInfoMember": null,
"EquipmentImageUrl": ""
}
}