GET assets/{asset}/changes/{year}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
asset | integer |
Required |
|
year | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ChangeName | Description | Type | Additional information |
---|---|---|---|
AssetID | integer |
None. |
|
Year | integer |
None. |
|
ID | integer |
None. |
|
TypeID | integer |
None. |
|
Type | ChangeType |
None. |
|
Description | string |
None. |
|
Date | date |
None. |
|
Quantity | integer |
None. |
|
PurchasedValue | decimal number |
None. |
|
DepreciatedAmount | decimal number |
None. |
|
AmortizationAmount | decimal number |
None. |
|
LocationID | integer |
None. |
|
Location | Location |
None. |
|
CostCenterID | integer |
None. |
|
LinkDocument | DocumentID |
None. |
Response Formats
application/json, text/json
Sample:
[ { "AssetID": 1, "Year": 2, "ID": 3, "TypeID": 4, "Type": { "ID": 1, "Name": "sample string 2" }, "Description": "sample string 5", "Date": "2025-04-03T07:00:28.905212+00:00", "Quantity": 7, "PurchasedValue": 8.0, "DepreciatedAmount": 9.0, "AmortizationAmount": 10.0, "LocationID": 11, "Location": { "ID": 1, "Name": "sample string 2", "OrganizationalUnitID": 3, "OrganizationalUnit": { "ID": 1, "Name": "sample string 2", "Address": { "Street": "sample string 1", "Postcode": "sample string 2", "City": "sample string 3", "CountryID": 4, "Country": { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:00:28.905212+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:00:28.905212+00:00" } } }, "Status": 3, "Type": 4, "InvoiceCalculationMethod": 5 } }, "CostCenterID": 12, "LinkDocument": { "Year": 1, "OrganizationalUnitID": 1, "CategoryID": 1, "ID": 1 } }, { "AssetID": 1, "Year": 2, "ID": 3, "TypeID": 4, "Type": { "ID": 1, "Name": "sample string 2" }, "Description": "sample string 5", "Date": "2025-04-03T07:00:28.905212+00:00", "Quantity": 7, "PurchasedValue": 8.0, "DepreciatedAmount": 9.0, "AmortizationAmount": 10.0, "LocationID": 11, "Location": { "ID": 1, "Name": "sample string 2", "OrganizationalUnitID": 3, "OrganizationalUnit": { "ID": 1, "Name": "sample string 2", "Address": { "Street": "sample string 1", "Postcode": "sample string 2", "City": "sample string 3", "CountryID": 4, "Country": { "ID": 1, "Name": "sample string 2", "CurrencyID": 1, "Currency": { "ID": 1, "Code": "sample string 2", "Name": "sample string 3", "Sign": "sample string 4", "Lookup": "sample string 5" }, "ISO31661": 1, "Alpha2": "sample string 3", "Alpha3": "sample string 4", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T07:00:28.905212+00:00", "EditUser": 1, "EditTime": "2025-04-03T07:00:28.905212+00:00" } } }, "Status": 3, "Type": 4, "InvoiceCalculationMethod": 5 } }, "CostCenterID": 12, "LinkDocument": { "Year": 1, "OrganizationalUnitID": 1, "CategoryID": 1, "ID": 1 } } ]
text/xml
Sample:
<ArrayOfChange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Assets"> <Change> <AmortizationAmount>10</AmortizationAmount> <AssetID>1</AssetID> <CostCenterID>12</CostCenterID> <Date>2025-04-03T07:00:28.905212+00:00</Date> <DepreciatedAmount>9</DepreciatedAmount> <Description>sample string 5</Description> <ID>3</ID> <LinkDocument xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:CategoryID>1</d3p1:CategoryID> <d3p1:ID>1</d3p1:ID> <d3p1:OrganizationalUnitID>1</d3p1:OrganizationalUnitID> <d3p1:Year>1</d3p1:Year> </LinkDocument> <Location> <ID>1</ID> <Name>sample string 2</Name> <OrganizationalUnit xmlns:d4p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d4p1:Address> <d4p1:City>sample string 3</d4p1:City> <d4p1:Country> <d4p1:Alpha2>sample string 3</d4p1:Alpha2> <d4p1:Alpha3>sample string 4</d4p1:Alpha3> <d4p1:Audit xmlns:d7p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d7p1:AddTime>2025-04-03T07:00:28.905212+00:00</d7p1:AddTime> <d7p1:AddUser>1</d7p1:AddUser> <d7p1:EditTime>2025-04-03T07:00:28.905212+00:00</d7p1:EditTime> <d7p1:EditUser>1</d7p1:EditUser> </d4p1:Audit> <d4p1:Currency> <d4p1:Code>sample string 2</d4p1:Code> <d4p1:ID>1</d4p1:ID> <d4p1:Lookup>sample string 5</d4p1:Lookup> <d4p1:Name>sample string 3</d4p1:Name> <d4p1:Sign>sample string 4</d4p1:Sign> </d4p1:Currency> <d4p1:CurrencyID>1</d4p1:CurrencyID> <d4p1:ID>1</d4p1:ID> <d4p1:ISO31661>1</d4p1:ISO31661> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:Country> <d4p1:CountryID>4</d4p1:CountryID> <d4p1:Postcode>sample string 2</d4p1:Postcode> <d4p1:Street>sample string 1</d4p1:Street> </d4p1:Address> <d4p1:ID>1</d4p1:ID> <d4p1:InvoiceCalculationMethod>5</d4p1:InvoiceCalculationMethod> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:Status>3</d4p1:Status> <d4p1:Type>4</d4p1:Type> </OrganizationalUnit> <OrganizationalUnitID>3</OrganizationalUnitID> </Location> <LocationID>11</LocationID> <PurchasedValue>8</PurchasedValue> <Quantity>7</Quantity> <Type> <ID>1</ID> <Name>sample string 2</Name> </Type> <TypeID>4</TypeID> <Year>2</Year> </Change> <Change> <AmortizationAmount>10</AmortizationAmount> <AssetID>1</AssetID> <CostCenterID>12</CostCenterID> <Date>2025-04-03T07:00:28.905212+00:00</Date> <DepreciatedAmount>9</DepreciatedAmount> <Description>sample string 5</Description> <ID>3</ID> <LinkDocument xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:CategoryID>1</d3p1:CategoryID> <d3p1:ID>1</d3p1:ID> <d3p1:OrganizationalUnitID>1</d3p1:OrganizationalUnitID> <d3p1:Year>1</d3p1:Year> </LinkDocument> <Location> <ID>1</ID> <Name>sample string 2</Name> <OrganizationalUnit xmlns:d4p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d4p1:Address> <d4p1:City>sample string 3</d4p1:City> <d4p1:Country> <d4p1:Alpha2>sample string 3</d4p1:Alpha2> <d4p1:Alpha3>sample string 4</d4p1:Alpha3> <d4p1:Audit xmlns:d7p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d7p1:AddTime>2025-04-03T07:00:28.905212+00:00</d7p1:AddTime> <d7p1:AddUser>1</d7p1:AddUser> <d7p1:EditTime>2025-04-03T07:00:28.905212+00:00</d7p1:EditTime> <d7p1:EditUser>1</d7p1:EditUser> </d4p1:Audit> <d4p1:Currency> <d4p1:Code>sample string 2</d4p1:Code> <d4p1:ID>1</d4p1:ID> <d4p1:Lookup>sample string 5</d4p1:Lookup> <d4p1:Name>sample string 3</d4p1:Name> <d4p1:Sign>sample string 4</d4p1:Sign> </d4p1:Currency> <d4p1:CurrencyID>1</d4p1:CurrencyID> <d4p1:ID>1</d4p1:ID> <d4p1:ISO31661>1</d4p1:ISO31661> <d4p1:Name>sample string 2</d4p1:Name> </d4p1:Country> <d4p1:CountryID>4</d4p1:CountryID> <d4p1:Postcode>sample string 2</d4p1:Postcode> <d4p1:Street>sample string 1</d4p1:Street> </d4p1:Address> <d4p1:ID>1</d4p1:ID> <d4p1:InvoiceCalculationMethod>5</d4p1:InvoiceCalculationMethod> <d4p1:Name>sample string 2</d4p1:Name> <d4p1:Status>3</d4p1:Status> <d4p1:Type>4</d4p1:Type> </OrganizationalUnit> <OrganizationalUnitID>3</OrganizationalUnitID> </Location> <LocationID>11</LocationID> <PurchasedValue>8</PurchasedValue> <Quantity>7</Quantity> <Type> <ID>1</ID> <Name>sample string 2</Name> </Type> <TypeID>4</TypeID> <Year>2</Year> </Change> </ArrayOfChange>