Function createAsset

  • Parameters

    • __namedParameters: CreateAsset

    Returns Promise<{
        agent_id?: null | number;
        asset_tag?: null | string;
        asset_type_id: number;
        assigned_on?: null | string;
        author_type?: null | string;
        created_at?: string;
        department_id?: null | number;
        description?: null | string;
        display_id?: null | number;
        group_id?: null | number;
        id?: number;
        impact?: "low" | "medium" | "high";
        location_id?: null | number;
        name: string;
        type_fields?: {
            acquisition_date_16000738809?: null | string;
            asset_state_16000738809?: null | string;
            computer_ip_address_16000738814?: null | string;
            cost_16000738809?: null | number;
            cpu_core_count_16000738814?: null | number;
            cpu_speed_16000738814?: null | number;
            depreciation_id?: null | number;
            disk_space_16000738814?: null | number;
            domain_16000738809?: null | string;
            health_16000738807?: "Operational" | "Needs Attention";
            hostname_16000738814?: null | string;
            last_audit_date_16000738809?: null | string;
            last_login_by_16000738814?: null | string;
            mac_address_16000738814?: null | string;
            memory_16000738814?: null | number;
            os_16000738814?: null | string;
            os_service_pack_16000738814?: null | string;
            os_version_16000738814?: null | string;
            procurement_type_16000738831?: null | string;
            product_16000738809?: null | number;
            salvage?: null | number;
            serial_number_16000738809?: null | string;
            uuid_16000738814?: null | string;
            vendor_16000738809?: null | number;
            warranty_16000738809?: null | number;
            warranty_expiry_date_16000738809?: null | string;
        };
        updated_at?: null | string;
        usage_type?: "permanent" | "loaner";
        user_id?: null | number;
    }>

Generated using TypeDoc