GET assets/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AssetName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
Name | string |
None. |
|
Description | string |
None. |
|
SerialNumber | string |
None. |
|
Quantity | integer |
None. |
|
PurchaseValue | decimal number |
None. |
|
DepriciatedValue | decimal number |
None. |
|
AmortizationValue | decimal number |
None. |
|
Value | decimal number |
None. |
|
AmortizationDate | date |
None. |
|
Purchased | date |
None. |
|
Depriciated | date |
None. |
|
TypeID | integer |
None. |
|
Type | Type |
None. |
|
LocationID | integer |
None. |
|
Location | Location |
None. |
|
EmployeeID | integer |
None. |
|
Employee | Employee |
None. |
|
Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "Name": "sample string 2", "Description": "sample string 3", "SerialNumber": "sample string 4", "Quantity": 5, "PurchaseValue": 6.0, "DepriciatedValue": 7.0, "AmortizationValue": 8.0, "Value": 9.0, "AmortizationDate": "2025-04-03T06:54:45.1371502+00:00", "Purchased": "2025-04-03T06:54:45.1371502+00:00", "Depriciated": "2025-04-03T06:54:45.1371502+00:00", "TypeID": 12, "Type": { "ID": 1, "Name": "sample string 2", "CategoryID": 3, "Category": { "ID": 1, "Name": "sample string 2", "Rate": 3, "Lifetime": 4, "ClassID": 5 }, "Rate": 4, "Purchase": "sample string 5", "Amortization": "sample string 6", "Depreciation": "sample string 7" }, "LocationID": 13, "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-03T06:54:45.1371502+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:54:45.1371502+00:00" } } }, "Status": 3, "Type": 4, "InvoiceCalculationMethod": 5 } }, "EmployeeID": 1, "Employee": { "CompanyID": 1, "ID": 2, "UserID": 1, "FirstName": "sample string 3", "LastName": "sample string 4", "FullName": "sample string 5", "Email": "sample string 6", "Phone": "sample string 7", "Mobile": "sample string 8", "ContactDetails": "sample string 9", "Signature": "sample string 10", "Audit": { "AddUser": 1, "AddTime": "2025-04-03T06:54:45.1371502+00:00", "EditUser": 1, "EditTime": "2025-04-03T06:54:45.1371502+00:00" } }, "Status": 14 }
text/xml
Sample:
<Asset xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Assets"> <AmortizationDate>2025-04-03T06:54:45.1371502+00:00</AmortizationDate> <AmortizationValue>8</AmortizationValue> <Depriciated>2025-04-03T06:54:45.1371502+00:00</Depriciated> <DepriciatedValue>7</DepriciatedValue> <Description>sample string 3</Description> <Employee xmlns:d2p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d2p1:Audit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d3p1:AddTime>2025-04-03T06:54:45.1371502+00:00</d3p1:AddTime> <d3p1:AddUser>1</d3p1:AddUser> <d3p1:EditTime>2025-04-03T06:54:45.1371502+00:00</d3p1:EditTime> <d3p1:EditUser>1</d3p1:EditUser> </d2p1:Audit> <d2p1:CompanyID>1</d2p1:CompanyID> <d2p1:ContactDetails>sample string 9</d2p1:ContactDetails> <d2p1:Email>sample string 6</d2p1:Email> <d2p1:FirstName>sample string 3</d2p1:FirstName> <d2p1:FullName>sample string 5</d2p1:FullName> <d2p1:ID>2</d2p1:ID> <d2p1:LastName>sample string 4</d2p1:LastName> <d2p1:Mobile>sample string 8</d2p1:Mobile> <d2p1:Phone>sample string 7</d2p1:Phone> <d2p1:Signature>sample string 10</d2p1:Signature> <d2p1:UserID>1</d2p1:UserID> </Employee> <EmployeeID>1</EmployeeID> <ID>1</ID> <Location> <ID>1</ID> <Name>sample string 2</Name> <OrganizationalUnit xmlns:d3p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO.Common"> <d3p1:Address> <d3p1:City>sample string 3</d3p1:City> <d3p1:Country> <d3p1:Alpha2>sample string 3</d3p1:Alpha2> <d3p1:Alpha3>sample string 4</d3p1:Alpha3> <d3p1:Audit xmlns:d6p1="http://schemas.datacontract.org/2004/07/Pixfin.DTO"> <d6p1:AddTime>2025-04-03T06:54:45.1371502+00:00</d6p1:AddTime> <d6p1:AddUser>1</d6p1:AddUser> <d6p1:EditTime>2025-04-03T06:54:45.1371502+00:00</d6p1:EditTime> <d6p1:EditUser>1</d6p1:EditUser> </d3p1:Audit> <d3p1:Currency> <d3p1:Code>sample string 2</d3p1:Code> <d3p1:ID>1</d3p1:ID> <d3p1:Lookup>sample string 5</d3p1:Lookup> <d3p1:Name>sample string 3</d3p1:Name> <d3p1:Sign>sample string 4</d3p1:Sign> </d3p1:Currency> <d3p1:CurrencyID>1</d3p1:CurrencyID> <d3p1:ID>1</d3p1:ID> <d3p1:ISO31661>1</d3p1:ISO31661> <d3p1:Name>sample string 2</d3p1:Name> </d3p1:Country> <d3p1:CountryID>4</d3p1:CountryID> <d3p1:Postcode>sample string 2</d3p1:Postcode> <d3p1:Street>sample string 1</d3p1:Street> </d3p1:Address> <d3p1:ID>1</d3p1:ID> <d3p1:InvoiceCalculationMethod>5</d3p1:InvoiceCalculationMethod> <d3p1:Name>sample string 2</d3p1:Name> <d3p1:Status>3</d3p1:Status> <d3p1:Type>4</d3p1:Type> </OrganizationalUnit> <OrganizationalUnitID>3</OrganizationalUnitID> </Location> <LocationID>13</LocationID> <Name>sample string 2</Name> <PurchaseValue>6</PurchaseValue> <Purchased>2025-04-03T06:54:45.1371502+00:00</Purchased> <Quantity>5</Quantity> <SerialNumber>sample string 4</SerialNumber> <Status>14</Status> <Type> <Amortization>sample string 6</Amortization> <Category> <ClassID>5</ClassID> <ID>1</ID> <Lifetime>4</Lifetime> <Name>sample string 2</Name> <Rate>3</Rate> </Category> <CategoryID>3</CategoryID> <Depreciation>sample string 7</Depreciation> <ID>1</ID> <Name>sample string 2</Name> <Purchase>sample string 5</Purchase> <Rate>4</Rate> </Type> <TypeID>12</TypeID> <Value>9</Value> </Asset>