|
1030 | 1030 | }; |
1031 | 1031 | defs["BookDepreciationDetail"] = { |
1032 | 1032 | "title" : "", |
1033 | | - "required" : [ "name" ], |
1034 | 1033 | "properties" : { |
1035 | 1034 | "currentCapitalGain" : { |
1036 | 1035 | "type" : "number", |
|
1084 | 1083 | }; |
1085 | 1084 | defs["BookDepreciationSetting"] = { |
1086 | 1085 | "title" : "", |
1087 | | - "required" : [ "name" ], |
1088 | 1086 | "properties" : { |
1089 | 1087 | "depreciationMethod" : { |
1090 | 1088 | "type" : "string", |
@@ -1564,7 +1562,28 @@ <h2>Parameters</h2> |
1564 | 1562 | "schema" : { |
1565 | 1563 | "$ref" : "#/components/schemas/Asset" |
1566 | 1564 | }, |
1567 | | - "example" : "{ \"assetName\":\"Computer74863\", \"assetNumber\":\"123477544\", \"purchaseDate\":\"2020-01-01\", \"purchasePrice\":100.0, \"disposalPrice\":23.23, \"assetStatus\":\"Draft\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"StraightLine\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.5, \"depreciationCalculationMethod\":\"None\" }, \"bookDepreciationDetail\":{ \"currentCapitalGain\":5.32, \"currentGainLoss\":3.88, \"depreciationStartDate\":\"2020-01-02\", \"costLimit\":100.0, \"currentAccumDepreciationAmount\":2.25 }, \"AccountingBookValue\":99.5 }" |
| 1565 | + "example" : { |
| 1566 | + "assetName" : "Computer74863", |
| 1567 | + "assetNumber" : "123477544", |
| 1568 | + "purchaseDate" : "2020-01-01", |
| 1569 | + "purchasePrice" : 100.0, |
| 1570 | + "disposalPrice" : 23.23, |
| 1571 | + "assetStatus" : "Draft", |
| 1572 | + "bookDepreciationSetting" : { |
| 1573 | + "depreciationMethod" : "StraightLine", |
| 1574 | + "averagingMethod" : "ActualDays", |
| 1575 | + "depreciationRate" : 0.5, |
| 1576 | + "depreciationCalculationMethod" : "None" |
| 1577 | + }, |
| 1578 | + "bookDepreciationDetail" : { |
| 1579 | + "currentCapitalGain" : 5.32, |
| 1580 | + "currentGainLoss" : 3.88, |
| 1581 | + "depreciationStartDate" : "2020-01-02", |
| 1582 | + "costLimit" : 100.0, |
| 1583 | + "currentAccumDepreciationAmount" : 2.25 |
| 1584 | + }, |
| 1585 | + "AccountingBookValue" : 99.5 |
| 1586 | + } |
1568 | 1587 | } |
1569 | 1588 | }, |
1570 | 1589 | "required" : true |
@@ -1716,7 +1735,18 @@ <h2>Parameters</h2> |
1716 | 1735 | "schema" : { |
1717 | 1736 | "$ref" : "#/components/schemas/AssetType" |
1718 | 1737 | }, |
1719 | | - "example" : "{ \"assetTypeName\":\"Machinery11004\", \"fixedAssetAccountId\":\"3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82\", \"depreciationExpenseAccountId\":\"d1602f69-f900-4616-8d34-90af393fa368\", \"accumulatedDepreciationAccountId\":\"9195cadd-8645-41e6-9f67-7bcd421defe8\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"DiminishingValue100\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.05, \"depreciationCalculationMethod\":\"None\" } }" |
| 1738 | + "example" : { |
| 1739 | + "assetTypeName" : "Machinery11004", |
| 1740 | + "fixedAssetAccountId" : "3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82", |
| 1741 | + "depreciationExpenseAccountId" : "d1602f69-f900-4616-8d34-90af393fa368", |
| 1742 | + "accumulatedDepreciationAccountId" : "9195cadd-8645-41e6-9f67-7bcd421defe8", |
| 1743 | + "bookDepreciationSetting" : { |
| 1744 | + "depreciationMethod" : "DiminishingValue100", |
| 1745 | + "averagingMethod" : "ActualDays", |
| 1746 | + "depreciationRate" : 0.05, |
| 1747 | + "depreciationCalculationMethod" : "None" |
| 1748 | + } |
| 1749 | + } |
1720 | 1750 | } |
1721 | 1751 | }, |
1722 | 1752 | "required" : true |
|
0 commit comments