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
{
  "_fields": [
    "",
    ""
  ],
  "_paths": [
    "",
    ""
  ],
  "Account": {
    "AccountNum": "",
    "AccountType": "",
    "Name": "",
    "Notes": "",
    "TaxExempt": "",
    "TierPricingID": "",
    "Website": ""
  },
  "AccountingPackage": {
    "InvoiceNum": "",
    "IsSent": true,
    "SendDate": "2014-12-15T10:00:00Z"
  },
  "ActualEndDate": "",
  "ActualStartDate": "",
  "ActualTravelEndDate": "",
  "ActualTravelStartDate": "",
  "ApptWnd": {
    "Desc": "",
    "Earliest": "2014-12-15T10:00:00Z",
    "Latest": "2014-12-15T10:00:00Z"
  },
  "Alerts": [
    {
      "AlertID": "",
      "AssetAge": {
        "Start": 12,
        "End": 35
      },
      "AssetType": "",
      "Extensions": {
        "FactoryProgCode": ""
      },
      "FixedCharges": [
        {
          "ProdNum": "",
          "RefCode": ""
        }
      ],
      "InWarranty": true,
      "IsActive": false,
      "Message": "",
      "ModelNumPattern": "",
      "ProdNumPattern": "",
      "SerialNumPattern": "",
      "ServiceCodes": [
        [
          "",
          ""
        ],
        [
          "",
          ""
        ]
      ],
      "SetInWarranty": false,
      "TemplateID": "",
      "URL": ""
    }
  ],
  "AlertResponses": [
    {
      "AlertID": "",
      "Notes": "",
      "Response": "",
      "TemplateID": ""
    }
  ],
  "ApptSearchRequest": {
    "Account": {
      "AccountNum": "",
      "AccountType": "",
      "Name": ""
    },
    "Assets": [
      {
        "AssetNum": "",
        "Desc": "",
        "FlexForms": [
          "${FlexFormID}"
        ],
        "FlexView": [
          {
            "ID": "",
            "Title": "GroupName1",
            "Items": [
              {
                "ID": "",
                "Label": "labeltext",
                "Value": "value text",
                "Delete": true
              }
            ],
            "Delete": false
          }
        ],
        "InServiceDate": "",
        "IsComponent": false,
        "LastServiceDate": "",
        "Location": "",
        "Mfg": "",
        "Model": "",
        "ProdNum": "",
        "SerialNum": "",
        "ServiceCodes": [],
        "ServiceCodesDesc": [],
        "Status": "",
        "Type": "",
        "Delete": false
      }
    ],
    "FlexAttrs": {
      "${FlexFormID}": {
        "${FlexAttrID}": [
          "",
          ""
        ]
      }
    },
    "FlexForms": [
      "${FlexFormID}",
      "${FlexFormID}"
    ],
    "Location": {
      "Address": {
        "AddrLine1": "",
        "AddrLine2": "",
        "AddrLine3": "",
        "AddrLine4": "",
        "AddrType": "",
        "City": "",
        "Country": "",
        "Intersection": "",
        "Lat": "",
        "Lon": "",
        "Region": "",
        "Zip": ""
      },
      "Contacts": [
        {
          "Email": "",
          "FirstName": "",
          "IsPrimary": true,
          "LastName": "",
          "Phones": [
            {
              "PhoneNum": "",
              "PhoneType": ""
            }
          ]
        }
      ],
      "Email": "",
      "LanguageID": "",
      "LocationNum": "",
      "Name": "",
      "Notes": "",
      "POReq": false,
      "ServiceAreaID": "",
      "SigReq": true,
      "StorageLocationID": ""
    },
    "OrderType": "",
    "OriginalOrderNum": "",
    "RequiredParts": [
      {
        "EstimatedDelivery": "2014-12-18T10:00:00.000Z",
        "ProdNum": "",
        "PartStatus": "{free text}",
        "Price": 0,
        "ShipToLocation": "",
        "SupersededParts": [
          {
            "ProdNum": "",
            "PartStatus": "{free text}",
            "ProdAttrs": {
              "Desc": "",
              "IsBatch": false,
              "IsInvCtrl": false,
              "IsSerialized": false,
              "ProdType": "1001"
            },
            "Qty": 10
          }
        ],
        "Urgency": ""
      }
    ],
    "TimeConstraints": [
      {
        "Desc": "",
        "Type": "",
        "Period": {
          "Start": "",
          "End": ""
        }
      }
    ],
    "UserName": ""
  },
  "Assets": [
    {
      "AssetNum": "",
      "Desc": "",
      "FlexForms": [
        "${FlexFormID}"
      ],
      "FlexView": [
        {
          "ID": "",
          "Title": "GroupName1",
          "Items": [
            {
              "ID": "",
              "Label": "labeltext",
              "Value": "value text",
              "Delete": true
            }
          ],
          "Delete": false
        }
      ],
      "InServiceDate": "",
      "IsComponent": false,
      "LastServiceDate": "",
      "Location": "",
      "Mfg": "",
      "Model": "",
      "ProdNum": "",
      "SerialNum": "",
      "ServiceCodes": [],
      "ServiceCodesDesc": [],
      "Status": "",
      "Type": "",
      "VerificationAPI": {
        "IsVerified": false,
        "VerificationDate": "2018-12-15T10:00:00.001Z"
      },
      "VerificationQR": {
        "IsVerified": false,
        "VerificationDate": "2018-12-15T10:00:00.001Z"
      },
      "Delete": false
    }
  ],
  "Billable": false,
  "CanReject": false,
  "CanResched": false,
  "Claims": [
    {
      "ClaimNum": "",
      "BatchNum": "",
      "SeqNum": "",
      "Status": "",
      "StatusDesc": "",
      "Amount": ""
    }
  ],
  "CollectPayment": false,
  "Concessions": [
    {
      "ConcessionID": "",
      "Desc": "",
      "Extensions": {},
      "Fixed": 0,
      "LookupCode": "",
      "Percentage": 0,
      "ProdTypes": [
        "${ProdType[.SubType]}"
      ]
    }
  ],
  "Credits": [
    {
      "ID": "",
      "Desc": "",
      "Amount": 50,
      "Delete": false
    }
  ],
  "Deleted": 0,
  "Description": "",
  "Discounts": [
    {
      "ID": "",
      "Desc": "",
      "Fixed": 0,
      "IsApplied": true,
      "Percentage": 0,
      "ProdTypes": [
        "${ProdType[.SubType]}"
      ],
      "Delete": false
    }
  ],
  "DispatchStatus": 0,
  "DispatchUTC": "",
  "EmailEstimate": true,
  "EmailInvoice": true,
  "EstimateEmailAddress": "",
  "ExcessiveService": false,
  "Extensions": {
    "ADP #": ""
  },
  "FlexFormRules": {
    "${FlexFormID}": {
      "AttachToInvoice": {
        "CanOverride": true,
        "Value": true
      }
    }
  },
  "FlexForms": [
    "${FlexFormID}",
    "${FlexFormID}"
  ],
  "FlexView": [
    {
      "ID": "",
      "Title": "GroupName",
      "Items": [
        {
          "ID": "",
          "Label": "labeltext",
          "Value": "value text",
          "Delete": false
        }
      ],
      "Delete": false
    }
  ],
  "FollowupSchedule": {
    "ID": "",
    "Desc": "",
    "Type": "",
    "Period": {
      "Start": "",
      "End": ""
    },
    "Delete": false
  },
  "HardStop": "",
  "HelperTechs": [],
  "IVRMessageOverrides": [
    {
      "code": "",
      "desc": "",
      "Delete": false
    }
  ],
  "IVRMessages": {
    "${ContactNumber}": {
      "RequestID": "",
      "Type": "",
      "RefCode": "",
      "Status": "",
      "ContactName": "",
      "ContactNumber": "",
      "Message": {
        "code": "",
        "desc": ""
      }
    }
  },
  "InJeopardy": false,
  "Invoice": {
    "Created": true,
    "CreateDate": "2014-12-15T10:00:00Z"
  },
  "InvoiceEmailAddress": "",
  "IsDelivered": false,
  "IsRead": false,
  "IsRedacted": false,
  "Items": [
    {
      "ID": "",
	  "AllowConcessions": false,
	  "AllowDiscounts": false,
      "AssetNum": "",
      "BatchNum": "",
      "DispositionReasons": [{
        "ReasonCode": "",
        "Desc": "",
        "Qty": 0
      }],
      "FlexView": [
        {
          "Title": "GroupName",
          "Items": [
            {
              "Label": "labeltext",
              "Value": "valuetext"
            }
          ]
        }
      ],
      "GeneralIncomeAccount": "1001",
      "IsAdvShip": false,
      "IsChargeable": false,
      "IsRet": false,
	  "NonDiscountable": false,
      "NonTaxable": false,
      "Price": 0,
      "PriceOverrideFlag": true,
      "ProdAttrs": {
        "Desc": "",
        "IsBatch": false,
        "IsInvCtrl": false,
        "IsSerialized": false,
        "ProdType": "1001"
      },
      "ProdNum": "1001",
      "Qty": 0,
      "RefCode": "",
      "ReturnReasonCode": "",
      "SerialNum": "1001001",
      "StorageLocationID": "",
	  "SupersededPartsDesc": "",
      "Delete": false
    }
  ],
  "Location": {
    "Address": {
      "AddrLine1": "",
      "AddrLine2": "",
      "AddrLine3": "",
      "AddrLine4": "",
      "AddrType": "",
      "City": "",
      "Country": "",
      "Region": "",
      "Zip": ""
    },
    "Contacts": [
      {
        "Email": "",
        "FirstName": "",
        "IsPrimary": true,
        "LastName": "",
        "Phones": [
          {
            "PhoneNum": "",
            "PhoneType": ""
          }
        ]
      }
    ],
    "Email": "",
    "LanguageID": "",
    "LocationNum": "",
    "Name": "",
    "Notes": "",
    "POReq": false,
    "ServiceAreaID": "",
    "SigReq": true,
    "StorageLocationID": "",
    "WorkCenter": ""
  },
  "MaxDiscounts": {
    "${ProdType}": {
      "Percentage": 0,
      "Fixed": 0
    }
  },
  "NonTaxable": false,
  "Notes": [
    {
      "ID": "",
      "Author": "",
      "Date": "",
      "ReadOnly": true,
      "Text": "",
      "Delete": true
    }
  ],
  "OrderAmount": 0,
  "OrderDate": "",
  "OrderNum": "",
  "OrderNumFollowUp": "",
  "OrderStatus": "",
  "OrderSubStatus": "",
  "OrderSubType": "",
  "OrderType": "",
  "OrderedItems": [
    {
      "EstimatedDelivery": "2014-12-15T10:00:00.000Z",
      "PartOrderNum": "",
      "PartStatus": "",
      "Price": 0,
      "ProdAttrs": {
        "Desc": ""
      },
      "ProdNum": "1001",
      "Qty": 0,
      "ShipToLocation": "",
      "SupersededParts": [
        {
          "ProdNum": "",
          "PartStatus": "{free text}",
          "ProdAttrs": {
            "Desc": "",
            "IsBatch": false,
            "IsInvCtrl": false,
            "IsSerialized": false,
            "ProdType": "1001"
          },
          "Qty": 10,
          "Delete": false
        }
      ],
	  "SupersededPartsDesc": "",
      "Urgency": "",
      "Delete": false
    }
  ],
  "PONumber": "",
  "Paused": false,
  "PaymentRequest": {
	"Amount": 123,
	"Recipient": {
		"EmailAddresses": [
			""
		],
		"FirstName": "",
		"LastName": "",
		"PhoneNum": ""
	},
	"InvoiceID": "",
	"InvoiceNum": "",
	"InvoiceURL": "",
	"SendDateUTC": ""
  },
  "Payments": [
    {
      "Amount": 10,
      "ID": "9586647f-e348-4e5d-8b85-0d99f1b154d1",
      "MaskedPAN": "",
      "PaymentUTC": "2018-12-15T10:00:00.001Z",
      "RawTransaction": "",
      "RefNum": "",
	  "Source": "",
	  "TransactionStatus": "",
	  "TransactionType": "",
      "Type": "Card"
    }
  ],
  "Photos": [
    {
      "Date": "",
      "ID": "",
      "Note": "",
      "URL": ""
    }
  ],
  "PlannedEndDate": "",
  "PlannedStartDate": "",
  "PreviousBalance": 89.99,
  "PrimaryUserName": "",
  "Priority": "",
  "ReasonCode": "",
  "ReferralSource": "",
  "RejectReasonCode": "",
  "RejectReasons": [
    {
      "code": "",
      "desc": ""
    }
  ],
  "Remarks": "",
  "RepeatCall": false,
  "ReqDeposit": {
    "IsApplied": false,
    "Fixed": 50,
    "Percentage": 25
  },
  "ReschedReasons": [
    {
      "code": "",
      "desc": "",
      "Delete": false
    }
  ],
  "Rules": {
	"CanCreateNewOrder": false,
    "CanDuplicate": false,
    "CanEditAccount": false,
    "CanEditAsset": false,
    "CanEditDiscounts": false,
    "CanEditOrderType": false,
    "CanEditRepeatCall": false,
    "CanTakePhotos": false,
    "CanRequestMoreTime": false,
    "CanScanQRCode": false,
    "CanScheduleFollowup": false,
    "CanSendIVR": false,
    "CanSetChargeable": false,
    "CanSetLineItemTaxable": false,
    "CanSetPrice": false,
    "CanSetWorkOrderTaxable": false,
    "CanUseAlerts": false,
    "CanUseConcessions": false,
    "CanUseServiceContract": false,
    "CanVerifyAsset": false,
    "CombineDiscounts": false,
    "InWarranty": false,
	"IsAssetInstallDateReq": false,
    "IsAssetModelNumReq": false,
    "IsAssetSerialNumReq": false,
    "IsHelperOrder": false,
    "IsOps": false,
    "IsShipLocationReq": false,
    "IsServiceCodeReq": false,
    "IsSigReq": false,
    "ModelNumPattern": "",
    "SerialNumPattern": "",
    "ValidateMailOrderParts": false
  },
  "ServiceContracts": [
    {
      "AssetNum": "",
      "AuthorizationNum": "",
      "BillToAccountNum": "",
      "ContractID": "",
      "ContractProvider": ""
    }
  ],
  "ServiceProvider": {
    "NetworkAccountNum": ""
  },
  "ShowPrice": true,
  "Signatures": [
    {
      "Image": "",
      "ImageFmt": "",
      "Name": ""
    }
  ],
  "Surveys": [],
  "Tasks": [
    {
      "TaskID": "",
      "TaskType": "",
      "ActualStart": "",
      "ActualEnd": "",
      "Desc": "",
      "Dur": "",
      "Extensions": {
        "key": "value1"
      },
      "FlexForms": [
        "${FlexFormID}"
      ],
      "FlexView": [
        {
          "ID": "",
          "Title": "GroupName",
          "Items": [
            {
              "ID": "",
              "Label": "labeltext",
              "Value": "value text",
              "Delete": false
            }
          ],
          "Delete": false
        }
      ],
      "Paused": false,
      "Priority": 1,
      "Notes": [
        {
          "Author": "",
          "Date": "",
          "Text": ""
        }
      ],
      "SchedDur": "",
      "SchedEnd": "",
      "SchedStart": "",
      "Status": "",
      "Title": "",
      "Delete": false
    }
  ],
  "Taxes": {
    "OrderTypes": [
      {
        "OrderType": "1001",
        "ProdTypes": {
          "${ProdType}": 6
        }
      }
    ]
  },
  "TechCreated": false,
  "TechNotes": [
    {
      "ID": "",
      "Author": "",
      "Date": "",
      "Text": "",
      "Delete": false
    }
  ],
  "TimeConstraints": [
    {
      "ID": "",
      "Desc": "",
      "Type": "",
      "Period": {
        "Start": "",
        "End": ""
      },
      "Delete": false
    }
  ],
  "Title": "",
  "Totals": {
    "ConcessionsTotal": 0,
    "CreditTotal": 0,
    "DepositTotal": 0,
    "DiscountTotal": 0,
    "LineItemTotal": 0,
    "ReturnTotal": 0,
    "GrandTotal": 0,
    "TaxTotal": 0,
    "TaxByType": {
      "${ProdType[.SubType]}": 0
    }
  },
  "UnableToCollect": [
    {
      "Amount": 339.81,
      "AuthorizationNum": ""
    }
  ],
  "UserName": "",
  "Videos": [
    {
      "Date": "",
      "ID": "",
      "Note": "",
      "URL": ""
    }
  ],
  "Warranty": [
    {
      "ID": "",
      "Desc": "",
      "IsApplied": true,
      "ProdTypes": [
        "${ProdType[.SubType]}",
        "${ProdType[.SubType]}",
        "${ProdType[.SubType]}"
      ],
      "Percentage": 0,
      "Delete": false
    }
  ],
  "WarrantyReasonCode": ""
}