This commit is contained in:
2022-03-29 19:51:36 +00:00
parent c6a8acc2da
commit 09b3698abd
16 changed files with 26 additions and 57 deletions

View File

@@ -51,14 +51,11 @@ The following linked objects are importable / updateable:
- Unit model via "UnitModelNameViz" which must contain an existing Unit model name
- Vendor the unit was purchased from via "PurchasedFromVendorViz" field which must contain the name of an existing Vendor
- Unit that is the replacement of this unit via "ReplacedByUnitViz" which must contain the serial of an existing unit
- Contract via "ContractViz" field which must contain the name of an existing Contract
If the Contract is specified then the ContractExpires field can be used to set the expiry date of the Contract.
If ContractExpires is omitted then it is set to the import date and time minus 1 minute so that it won't take effect until it's been set to a future date.
- Contract via "ContractViz" field which must contain the name of an existing Contract. If the Contract is specified then the ContractExpires field can be used to set the expiry date of the Contract. If ContractExpires is omitted then it is set to the import date and time minus 1 minute so that it won't take effect until it's been set to a future date.
## JSON file format
The .json file must contain an array of one or more Unit objects.
The .json file must contain an **array** of one or more objects.
```JSON
[