Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space MOBUD and version 3
Code Block
languagejs
firstline1
titleJSON Format
linenumberstrue
collapsetrue
{
	  "AllowMobileCreateOrder": false,
	  "CloudElements": {
		    "CustomerID": "",
		    "Email": "",
    		"Enabled": false,
		    "Modules": {
			
      "{ModuleID}": {
				
        "Enabled": true,
				
        "ID": "",
				
        "Key": "",
				
        "Name": "QuickBooks Online",
				
        "Token": ""
			}
		},
		
      }
    },
    "Name": "",
 		   "UserID": "",
    		"UserSecret": ""
 	 },
 	 "DefaultCulturalIdentifer": "en",
 	 "EnableMobileApplication": true,
  "ExportNotifications": {
    "Authentication": {
      "URL": "",
      "Headers": [
        {
          "Name": "",
          "Value": ""
        }
      ],
      "Request": {
        "audience": "",
        "client_id": "",
        "client_secret": "",
        "grant_type": "client_credentials"
      },
	
      "Type": "OAuth2"
    },
    "Notifications": {
      "Activity": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      },
      "Audit": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      },
      "InventoryTransfer": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      },
      "InventoryUsage": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      },
      "LoadInventory": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      },
      "StockLevelRecommendation": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      },
      "TimeEntry": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      },
      "WorkOrder": {
        "Enabled": false,
        "URL": "",
        "Headers": [
          {
            "Name": "",
            "Value": ""
          }
        ]
      }
    }
  },
  "ExtUserAuth": {
    		"Enabled": false,
   		 "AuthEndpoint": "https://sm-dev.hostedservicepower.com/mock/3rdPartyjwt"
	  },
  	"Invoice": {
		    "EmailFrom": "sender@servicemobility.com",
    		"EmailSender": {
			      "SourceArn": "",
			
      "FromArn": "",
			
      "ReturnPathArn": ""
 		}
	   }
  },
	  "Invoicing": true,
  	"JMSExpirationInDays": 30,
	
  "MaxLoginAttempts": 3,
  "PasswordResetLength": 10,
  	"PayByLink": {
    		"ID": "1002",
    		"MerchantID": "CAAF8BFE-65AD-466C-A513-CC7854D4E90D",
    		"UserID": "rahulmetha",
 		   "Passcode": ""
  	},
	  "Payment": {
   		 "GatewayID": "1001",
   		 "MerchantID": "CAAF8BFE-65AD-466C-A513-CC7854D4E90D",
   		 "UserID": "apiUser",
   		 "Passcode": ""
  	},
  	"RestApi": {
   		 "AuthorizationHeaders": [
      {
			
        "Name": "",
			
        "Value": ""
		}],
		
      }
    ],
    "AssetModels": {
			
      "AuthorizationHeaders": [
        {
				
          "Name": "",
				
          "Value": ""
			}],
			
        }
      ],
      "URL": "https://sm-dev.hostedservicepower.com/mock/Assets/{0}/Models"
		    },
    		"AssetHistory": {
			
      "AuthorizationHeaders": [{
				
        {
          "Name": "",
				
          "Value": ""
			}],
			
        }
      ],
      "Criteria": "{\"and\":[{\"==\":[{\"$expression\":\"$substring(Assets[0].Model,0,6)\"},\"{{$substring(Asset.Model,0,6)}}\"]},{\"==\":[{\"$expression\":\"Assets[0].SerialNum\"},\"{{Asset.SerialNum}}\"]},{\"==\":[{\"$expression\":\"Location.Contacts[IsPrimary=true].LastName\"},\"{{Location.Contacts[IsPrimary=true].LastName}}\"]},{\"==\":[{\"$expression\":\"Location.Address.Zip\"},\"{{Location.Address.Zip}}\"]}]}",
			,
      "URL": ""
    		},
		    "BookJob": {
			
      "AuthorizationHeaders": [
        {
				
          "Name": "",
				          "Value": ""
			}],
			
        }
      ],
      "URL": "https://sm-dev.hostedservicepower.com/crm/api/BookJobMock/{0}"
		    },
		    "EstimateHistory": {
			
      "AuthorizationHeaders": [
        {
				
          "Name": "",
				          "Value": ""
			}],
			
        }
      ],
      "Criteria": "{\"and\":[{\"==\":[{\"$expression\":\"$substring(Assets[0].Model,0,6)\"},\"{{$substring(Assets[0].Model,0,6)}}\"]},{\"==\":[{\"$expression\":\"Assets[0].SerialNum\"},\"{{Assets[0].SerialNum}}\"]},{\"==\":[{\"$expression\":\"Location.Contacts[IsPrimary=true].LastName\"},\"{{Location.Contacts[IsPrimary=true].LastName}}\"]},{\"==\":[{\"$expression\":\"Location.Address.Zip\"},\"{{Location.Address.Zip}}\"]}]}",
			,
      "URL": "https: //sm-dev.hostedservicepower.com/mock/Account/{0}/Location/{1}/EstimateHistory"
		    },
    		"IVR": {
			
      "AuthorizationHeaders": [
        {
				
          "Name": "",
				
          "Value": ""
			}],
			
        }
      ],
      "URL": "https://sm-dev.hostedservicepower.com/IVRMock/{0}"
    		},
    		"PartsOrdering": {
			
      "AuthorizationHeaders": [
        {
				
          "Name": "",
				
          "Value": ""
			}],
			
        }
      ],
      "URL": "https://sm-dev.hostedservicepower.com/partsOrderingMock"
		    },
   		 "SiteHistory": {
			
      "AuthorizationHeaders": [{
				
        {
          "Name": "",
				
          "Value": ""
			}],
			
        }
      ],
      "Criteria": "{\"and\":[{\"==\":[{\"$expression\":\"Location.Contacts[IsPrimary=true].LastName\"},\"{{Location.Contacts[IsPrimary=true].LastName}}\"]},{\"in\":[{\"var\":\"Location.Address.AddrLine1\"},\"{{Location.Address.AddrLine1}}\"]},{\"==\":[{\"$expression\":\"Location.Address.Zip\"},\"{{Location.Address.Zip}}\"]}]}",
			,
      "URL": ""
    		},
    		"SearchAppts": {
			
      "AuthorizationHeaders": [
        {
				
          "Name": "",
				
          "Value": ""
			}],
			
        }
      ],
      "URL": "https://sm-dev.hostedservicepower.com/crm/api/SearchApptsMock"
    		}
  	},
	  "Scheduler": {
    		"Host": null,
    		"DBUser": null,
    		"UserName": null,
    		"Password": null,
 		   "DispatchExportTran": false,
   		 "IntegrationEnabled": false,
   		 "ExternalObjectName": null
	
  },
  "StockLevelRecommendation": {
    "ExpiryCheckEnabled": false,
    "ExpirationTime": 540
  },
	  "SupportEmailAddress": "support@servicemobility.com",
  	"SupportedCountries": "USA",
  	"SSO": {
   		 "Enabled": false,
   		 "UsePKCEFlow": false
  	},
  	"TemplatePrefix": "",
  "TokenClaims": {
    "ExpirationTime": 5400,
	
    "ExpiryDeadband": 0
  },
  "WorkOrder": {
   		 "ClosedOverride": false,
		
    "GenerateHashKey": {
      "Enabled": true,
      "KeyFunctions": {
        "AccountNum": "$uppercase(\"A-\" & $string(Location.Contacts[0].LastName) & \"|\" & $string(Location.Address.Zip))",
        "LocationNum": "$uppercase(\"L-\" & $string(Location.Contacts[0].LastName) & \"|\" & $string(Location.Address.Zip))"
      }
    },
    "GenerateIncompleteOrderInvoice": true,
    "OnlyAllowProductCatalogParts": "true",
    		"SendScheduleChangeNotification": false,
    		"SkipDeletedWOExport": true,
    		"UseSystemTaxRates": false
 	 }
}