You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue Description:
When using the get_assets API endpoint in the Xero API to retrieve asset information, the response is missing the serial_number and warranty_expiry_date fields. However, when using the get_asset API with a specific asset_id, these fields are present in the response.
Steps to Reproduce:
Make a call to the get_assets endpoint with the required parameters (e.g., xero_tenant_id, xero_status, page, page_size).
Inspect the response for the presence of the serial_number and warranty_expiry_date fields.
Expected Behavior:
The get_assets API response should include the serial_number and warranty_expiry_date fields for each asset, providing comprehensive information about the assets.
Actual Behavior:
The serial_number and warranty_expiry_date fields are missing from the get_assets API response, making it necessary to use the get_asset API with a specific asset_id to retrieve this information.
API Call:
xero_assets = asset_api.get_assets(xero_tenant_id, xero_status, page, page_size,)
Issue Description:
When using the get_assets API endpoint in the Xero API to retrieve asset information, the response is missing the serial_number and warranty_expiry_date fields. However, when using the get_asset API with a specific asset_id, these fields are present in the response.
Steps to Reproduce:
Make a call to the get_assets endpoint with the required parameters (e.g., xero_tenant_id, xero_status, page, page_size).
Inspect the response for the presence of the serial_number and warranty_expiry_date fields.
Expected Behavior:
The get_assets API response should include the serial_number and warranty_expiry_date fields for each asset, providing comprehensive information about the assets.
Actual Behavior:
The serial_number and warranty_expiry_date fields are missing from the get_assets API response, making it necessary to use the get_asset API with a specific asset_id to retrieve this information.
API Call:
xero_assets = asset_api.get_assets(xero_tenant_id, xero_status, page, page_size,)
Sample Output:
{
'asset_id': 'fec39a7b-198f-4ada-abbd-175429eac520',
'asset_name': 'Dozer',
'asset_number': 'DZ003',
'serial_number': None,
'warranty_expiry_date': None,
}
Screenshot:
The text was updated successfully, but these errors were encountered: